Remove the APPLE_texture_format path
authorGunnar Sletta <gunnar.sletta@digia.com>
Mon, 18 Mar 2013 12:22:54 +0000 (13:22 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 4 Apr 2013 17:46:51 +0000 (19:46 +0200)
It is untested and is causing problems elsewhere.

Change-Id: I412f820d14c1632e3d1000b627231d8f78e792b5
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
src/quick/scenegraph/util/qsgtexture.cpp

index 18b5627..ad98fe9 100644 (file)
@@ -675,8 +675,6 @@ void QSGPlainTexture::bind()
 #ifdef QT_OPENGL_ES
         internalFormat = GL_BGRA;
 #endif
-    } else if (strstr(extensions, "GL_APPLE_texture_format_BGRA8888")) {
-        externalFormat = GL_BGRA;
     } else if (strstr(extensions, "GL_EXT_texture_format_BGRA8888")
                || strstr(extensions, "GL_IMG_texture_format_BGRA8888")) {
         externalFormat = GL_BGRA;