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~86 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=23e0bf63986f43d0f1cf741064cc735f62d7404d;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 ::stable-branch::merge=e09c3d37a2261c5ae5370bb2e51d313bf1dcbe92 --- diff --git a/gl_rmain.c b/gl_rmain.c index d2ec2439..7864f9bf 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -3639,7 +3639,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;