From: Mario Date: Fri, 5 Jun 2020 17:26:05 +0000 (+1000) Subject: Remove a redundant GL extension check (S3TC implies texture compression being availab... X-Git-Tag: xonotic-v0.8.5~942 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d65fffe78d3602e2db9ffc2b98f4180bbf7495e6;p=xonotic%2Fxonotic-data.pk3dir.git Remove a redundant GL extension check (S3TC implies texture compression being available), fixes texture compression options in newer engine builds --- diff --git a/qcsrc/menu/xonotic/util.qc b/qcsrc/menu/xonotic/util.qc index 5a3f6c6c5..c0a8c6b2b 100644 --- a/qcsrc/menu/xonotic/util.qc +++ b/qcsrc/menu/xonotic/util.qc @@ -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;