From 07e0c4c98d086419d081ad203ecb04c1a0af62be Mon Sep 17 00:00:00 2001 From: Thomas Senyk Date: Wed, 12 Dec 2012 15:24:05 +0100 Subject: [PATCH] updating qeglfshooks_imx6.cpp to 12.09.01 (L3.0.35) opengl-drivers Change-Id: Id19c1e99ca5c6a28c61f67b76181ebf85fd20a37 Reviewed-by: Otavio Salvador Reviewed-by: Oswald Buddenhagen Reviewed-by: Robert Griebl --- mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp | 4 ++-- 1 file 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; }