From: vortex Date: Sat, 30 Oct 2010 18:55:47 +0000 (+0000) Subject: fix SHADERSTATICPARMS_COUNT to right value X-Git-Tag: xonotic-v0.1.0preview~56^2~44 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e09c3d37a2261c5ae5370bb2e51d313bf1dcbe92;p=xonotic%2Fdarkplaces.git fix SHADERSTATICPARMS_COUNT to right value git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10573 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index 621442af..7ff423e2 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -3597,7 +3597,7 @@ enum SHADERSTATICPARM_POSTPROCESS_USERVEC3 = 4, ///< postprocess uservec3 is enabled SHADERSTATICPARM_POSTPROCESS_USERVEC4 = 5 ///< postprocess uservec4 is enabled }; -#define SHADERSTATICPARMS_COUNT 2 +#define SHADERSTATICPARMS_COUNT 6 static const char *shaderstaticparmstrings_list[SHADERSTATICPARMS_COUNT]; static int shaderstaticparms_count = 0;