From 23e0bf63986f43d0f1cf741064cc735f62d7404d Mon Sep 17 00:00:00 2001 From: vortex Date: Sat, 30 Oct 2010 18:55:47 +0000 Subject: [PATCH] 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 --- gl_rmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2