mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-29 22:36:43 +00:00
What's wrong with this statement?
This commit is contained in:
parent
e9ffbcc1b0
commit
77a3a52b4e
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ namespace Resource
|
||||||
case(GL_COMPRESSED_RGBA_S3TC_DXT3_EXT):
|
case(GL_COMPRESSED_RGBA_S3TC_DXT3_EXT):
|
||||||
case(GL_COMPRESSED_RGBA_S3TC_DXT5_EXT):
|
case(GL_COMPRESSED_RGBA_S3TC_DXT5_EXT):
|
||||||
{
|
{
|
||||||
#if OSG_MIN_VERSION_REQUIRED(3, 3, 3)
|
#if OSG_MIN_VERSION_REQUIRED(3,3,3)
|
||||||
osg::GLExtensions* exts = osg::GLExtensions::Get(0, false);
|
osg::GLExtensions* exts = osg::GLExtensions::Get(0, false);
|
||||||
if (exts && !exts->isTextureCompressionS3TCSupported
|
if (exts && !exts->isTextureCompressionS3TCSupported
|
||||||
// This one works too. Should it be included in isTextureCompressionS3TCSupported()? Submitted as a patch to OSG.
|
// This one works too. Should it be included in isTextureCompressionS3TCSupported()? Submitted as a patch to OSG.
|
||||||
|
|
Loading…
Reference in a new issue