From: havoc Date: Thu, 16 Feb 2012 20:14:15 +0000 (+0000) Subject: fix typos X-Git-Tag: xonotic-v0.8.0~96^2~325 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5b4332c25f6b650e575d5e07c5a8441747474d37;p=xonotic%2Fdarkplaces.git fix typos git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11691 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index 34933296..6b5095cf 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -856,7 +856,7 @@ enum SHADERSTATICPARM_SHADOWMAPPCF_2 = 9, ///< PCF 2 SHADERSTATICPARM_SHADOWSAMPLER = 10, ///< sampler SHADERSTATICPARM_CELSHADING = 11, ///< celshading (alternative diffuse and specular math) - SHADERSTATICPARM_CELOUTLINE = 12, ///< celoutline (depth buffer analysis to produce outlines) + SHADERSTATICPARM_CELOUTLINES = 12, ///< celoutline (depth buffer analysis to produce outlines) }; #define SHADERSTATICPARMS_COUNT 13 @@ -904,7 +904,7 @@ qboolean R_CompileShader_CheckStaticParms(void) else if (r_celshading.integer) R_COMPILESHADER_STATICPARM_ENABLE(SHADERSTATICPARM_CELSHADING); else if (r_celoutlines.integer) - R_COMPILESHADER_STATICPARM_ENABLE(SHADERSTATICPARM_CELOUTLINE); + R_COMPILESHADER_STATICPARM_ENABLE(SHADERSTATICPARM_CELOUTLINES); return memcmp(r_compileshader_staticparms, r_compileshader_staticparms_save, sizeof(r_compileshader_staticparms)) != 0; }