]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove a redundant GL extension check (S3TC implies texture compression being availab...
authorMario <mario.mario@y7mail.com>
Fri, 5 Jun 2020 17:26:05 +0000 (03:26 +1000)
committerMario <mario.mario@y7mail.com>
Fri, 5 Jun 2020 17:26:05 +0000 (03:26 +1000)
qcsrc/menu/xonotic/util.qc

index 5a3f6c6c5b5c57441931d72ed033d15ac0117a2f..c0a8c6b2b54e416017cf39149ee976f55e769e90 100644 (file)
@@ -17,7 +17,7 @@ float GL_CheckExtension(string ext)
 
 float GL_Have_TextureCompression()
 {
-       return (GL_CheckExtension("GL_EXT_texture_compression_s3tc") && GL_CheckExtension("GL_ARB_texture_compression"));
+       return GL_CheckExtension("GL_EXT_texture_compression_s3tc");
 }
 
 .entity parent, firstChild, nextSibling;