aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@digia.com>2013-03-18 13:22:54 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-04 19:46:51 +0200
commitf6969ffab5547396bb31570a72bfb3430a0d3b37 (patch)
tree1b09b98faaebd166fdcea4d5938a04fbf873a210 /src/quick/scenegraph
parent475d1ed4f6a21686828fbd018542b469a8b2dbcd (diff)
Remove the APPLE_texture_format path
It is untested and is causing problems elsewhere. Change-Id: I412f820d14c1632e3d1000b627231d8f78e792b5 Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'src/quick/scenegraph')
-rw-r--r--src/quick/scenegraph/util/qsgtexture.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/quick/scenegraph/util/qsgtexture.cpp b/src/quick/scenegraph/util/qsgtexture.cpp
index 18b562711c..ad98fe9d47 100644
--- a/src/quick/scenegraph/util/qsgtexture.cpp
+++ b/src/quick/scenegraph/util/qsgtexture.cpp
@@ -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;