From efd86437642ce2c976572d5bc2cff2f49de81649 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 18 Feb 2012 21:52:00 +0000 Subject: [PATCH] remove some undesired else's that break r_celshading and r_celoutlines git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11700 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=9d4b72962f09d1696834b8339644c77000c9c125 --- gl_rmain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gl_rmain.c b/gl_rmain.c index 59475e63..256b5e44 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -901,9 +901,9 @@ qboolean R_CompileShader_CheckStaticParms(void) R_COMPILESHADER_STATICPARM_ENABLE(SHADERSTATICPARM_SHADOWMAPPCF_2); else if (r_shadow_shadowmappcf) R_COMPILESHADER_STATICPARM_ENABLE(SHADERSTATICPARM_SHADOWMAPPCF_1); - else if (r_celshading.integer) + if (r_celshading.integer) R_COMPILESHADER_STATICPARM_ENABLE(SHADERSTATICPARM_CELSHADING); - else if (r_celoutlines.integer) + if (r_celoutlines.integer) R_COMPILESHADER_STATICPARM_ENABLE(SHADERSTATICPARM_CELOUTLINES); return memcmp(r_compileshader_staticparms, r_compileshader_staticparms_save, sizeof(r_compileshader_staticparms)) != 0; -- 2.39.2