mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 15:29:55 +00:00
Give up rearranging the CS
This commit is contained in:
parent
a761e417f1
commit
02ef7ae3cc
1 changed files with 2 additions and 0 deletions
|
@ -66,6 +66,8 @@ namespace Resource
|
|||
case (GL_COMPRESSED_RGBA_S3TC_DXT3_EXT):
|
||||
case (GL_COMPRESSED_RGBA_S3TC_DXT5_EXT):
|
||||
{
|
||||
if (!SceneUtil::glExtensionsReady())
|
||||
return true; // hashtag yolo (CS might not have context when loading assets)
|
||||
osg::GLExtensions& exts = SceneUtil::getGLExtensions();
|
||||
if (!exts.isTextureCompressionS3TCSupported
|
||||
// This one works too. Should it be included in isTextureCompressionS3TCSupported()? Submitted as a
|
||||
|
|
Loading…
Reference in a new issue