Permalink
Browse files

detect GL_EXT_texture_compression_s3tc explicitly. Intel has compress…

…ion but not S3TC, which causes a crash
  • Loading branch information...
1 parent f67c7fe commit 634fb14268e91ea329595b05c8da52e06d994b1e @robn robn committed Sep 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/graphics/RendererLegacy.cpp
@@ -53,7 +53,7 @@ RendererLegacy::RendererLegacy(const Graphics::Settings &vs)
, m_maxZFar(1000000.0f)
, m_useCompressedTextures(false)
{
- const bool useDXTnTextures = vs.useTextureCompression && glewIsSupported("GL_ARB_texture_compression");
+ const bool useDXTnTextures = vs.useTextureCompression && glewIsSupported("GL_EXT_texture_compression_s3tc");
m_useCompressedTextures = useDXTnTextures;
glShadeModel(GL_SMOOTH);

0 comments on commit 634fb14

Please sign in to comment.