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>
This commit is contained in:
parent
aa434bc908
commit
07e0c4c98d
@ -61,7 +61,7 @@ private:
|
|||||||
QEglFSImx6Hooks::QEglFSImx6Hooks()
|
QEglFSImx6Hooks::QEglFSImx6Hooks()
|
||||||
{
|
{
|
||||||
int width, height;
|
int width, height;
|
||||||
mNativeDisplay = fbGetDisplay();
|
mNativeDisplay = fbGetDisplayByIndex(0);
|
||||||
fbGetDisplayGeometry(mNativeDisplay, &width, &height);
|
fbGetDisplayGeometry(mNativeDisplay, &width, &height);
|
||||||
mScreenSize.setHeight(height);
|
mScreenSize.setHeight(height);
|
||||||
mScreenSize.setWidth(width);
|
mScreenSize.setWidth(width);
|
||||||
@ -76,7 +76,7 @@ EGLNativeWindowType QEglFSImx6Hooks::createNativeWindow(const QSize &size, const
|
|||||||
{
|
{
|
||||||
Q_UNUSED(format);
|
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;
|
return eglWindow;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user