diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-09-10 09:43:47 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-09-10 09:45:17 (GMT) |
commit | 66c9b6c7982b3e07ab54173092312f23c2a5b8af (patch) | |
tree | 54716357c005726254d1ed58919ba07f57f28949 /src/opengl/qgl_x11egl.cpp | |
parent | 9e8abb63ba4609887d988ee15ba6daee0b01380e (diff) | |
download | Qt-66c9b6c7982b3e07ab54173092312f23c2a5b8af.zip Qt-66c9b6c7982b3e07ab54173092312f23c2a5b8af.tar.gz Qt-66c9b6c7982b3e07ab54173092312f23c2a5b8af.tar.bz2 |
Don't yinvert pixmaps on eglx11
Reviewed-by: Tom
Diffstat (limited to 'src/opengl/qgl_x11egl.cpp')
-rw-r--r-- | src/opengl/qgl_x11egl.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/opengl/qgl_x11egl.cpp b/src/opengl/qgl_x11egl.cpp index 276b408..055138d 100644 --- a/src/opengl/qgl_x11egl.cpp +++ b/src/opengl/qgl_x11egl.cpp @@ -624,9 +624,6 @@ QGLTexture *QGLContextPrivate::bindTextureFromNativePixmap(QPixmapData* pd, cons return 0; } - // Always inverted because the opposite is not supported... - options |= QGLContext::InvertedYBindOption; - QGLTexture *texture = new QGLTexture(q, textureId, GL_TEXTURE_2D, options); pixmapData->flags |= QX11PixmapData::InvertedWhenBoundToTexture; |