From: Rudolf Polzer Date: Sat, 8 Jan 2011 18:12:15 +0000 (+0100) Subject: fix how s3tc detection comes in X-Git-Tag: xonotic-v0.5.0~318^2~147 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=da07fa37f1f1451a9da76b67e58fa6da3e789e7b;p=xonotic%2Fxonotic-data.pk3dir.git fix how s3tc detection comes in --- diff --git a/qcsrc/menu/xonotic/slider_picmip.c b/qcsrc/menu/xonotic/slider_picmip.c index cf1d9d20a..2222413e3 100644 --- a/qcsrc/menu/xonotic/slider_picmip.c +++ b/qcsrc/menu/xonotic/slider_picmip.c @@ -28,7 +28,7 @@ float texmemsize(float s3tc) ( 2500 * pow(0.25, max(0, cvar("gl_picmip") + cvar("gl_picmip_other"))) + 1500 * pow(0.25, max(0, cvar("gl_picmip") + cvar("gl_picmip_world"))) - ) * (s3tc && ((cvar("r_texture_dds_load") || cvar("gl_texturecompression")) ? 0.2 : 1.0)); // TC: normalmaps 50%, other 25%, few incompressible, guessing 40% as conservative average + ) * ((s3tc && (cvar("r_texture_dds_load") || cvar("gl_texturecompression"))) ? 0.2 : 1.0); // TC: normalmaps 50%, other 25%, few incompressible, guessing 40% as conservative average } void XonoticPicmipSlider_autofix(entity me) {