diff options
author | Gunnar Sletta <gunnar.sletta@digia.com> | 2013-03-18 13:00:35 +0100 |
---|---|---|
committer | Gunnar Sletta <gunnar.sletta@digia.com> | 2013-03-18 13:00:10 +0100 |
commit | 2a37b55beed47d904093f420adc4eec103e56efd (patch) | |
tree | 5037aa99db3101c5a359ab0d1dfd927eae7aa6e6 /customcontext | |
parent | a72d8ae0e2b0a338f7bdb8f94e65a09c7ad13a5f (diff) |
Remove the GL_APPLE_texture_format_BGRA8888 path.
It is not working as expected.
Change-Id: I50a1d5ade42d10786b39d50541e3d6ab209d0266
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'customcontext')
-rw-r--r-- | customcontext/texture/atlastexture.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/customcontext/texture/atlastexture.cpp b/customcontext/texture/atlastexture.cpp index ea03992..dee14fd 100644 --- a/customcontext/texture/atlastexture.cpp +++ b/customcontext/texture/atlastexture.cpp @@ -147,9 +147,6 @@ TextureAtlas::TextureAtlas(const QSize &size) || strstr(ext, "GL_EXT_texture_format_BGRA8888") || strstr(ext, "GL_IMG_texture_format_BGRA8888")) { m_internalFormat = m_externalFormat = GL_BGRA; - } else if (strstr(ext, "GL_APPLE_texture_format_BGRA8888")) { - m_internalFormat = GL_RGBA; - m_externalFormat = GL_BGRA; } else { m_internalFormat = m_externalFormat = GL_RGBA; } |