From 5b4332c25f6b650e575d5e07c5a8441747474d37 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 16 Feb 2012 20:14:15 +0000 Subject: [PATCH] fix typos git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11691 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2