1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-22 03:40:49 +00:00

Give up rearranging the CS

This commit is contained in:
AnyOldName3 2024-02-25 22:49:53 +00:00
parent a761e417f1
commit 02ef7ae3cc

View File

@ -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