]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix typos
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 16 Feb 2012 20:14:15 +0000 (20:14 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 18 Mar 2012 20:25:51 +0000 (21:25 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11691 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=5b4332c25f6b650e575d5e07c5a8441747474d37

gl_rmain.c

index fcd46f27fd0fbe41d74723352bc8045c58d34935..59475e6343f8fcd758da919df0f282c6f7fd88e0 100644 (file)
@@ -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;
 }