summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorThomas Senyk <thomas.senyk@pelagicore.com>2012-12-12 15:24:05 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-14 11:02:47 +0100
commit07e0c4c98d086419d081ad203ecb04c1a0af62be (patch)
tree4114a6c3a077ab0ae5f646558597955544de143b /mkspecs
parentaa434bc90861f1599209edd6bc614802c50704dc (diff)
updating qeglfshooks_imx6.cpp to 12.09.01 (L3.0.35) opengl-drivers
Change-Id: Id19c1e99ca5c6a28c61f67b76181ebf85fd20a37 Reviewed-by: Otavio Salvador <otavio@ossystems.com.br> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp b/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp
index 1ee95f1f24..7a6c1d3fce 100644
--- a/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp
+++ b/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp
@@ -61,7 +61,7 @@ private:
QEglFSImx6Hooks::QEglFSImx6Hooks()
{
int width, height;
- mNativeDisplay = fbGetDisplay();
+ mNativeDisplay = fbGetDisplayByIndex(0);
fbGetDisplayGeometry(mNativeDisplay, &width, &height);
mScreenSize.setHeight(height);
mScreenSize.setWidth(width);
@@ -76,7 +76,7 @@ EGLNativeWindowType QEglFSImx6Hooks::createNativeWindow(const QSize &size, const
{
Q_UNUSED(format);
- EGLNativeWindowType eglWindow = fbCreateWindow(mNativeDisplay, 0, 1, size.width(), size.height());
+ EGLNativeWindowType eglWindow = fbCreateWindow(mNativeDisplay, 0, 0, size.width(), size.height());
return eglWindow;
}