]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix SHADERSTATICPARMS_COUNT to right value
authorvortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 30 Oct 2010 18:55:47 +0000 (18:55 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 30 Oct 2010 19:43:28 +0000 (21:43 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10573 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=e09c3d37a2261c5ae5370bb2e51d313bf1dcbe92

gl_rmain.c

index d2ec2439714d37c1e418f772d58b1be278beacc8..7864f9bfe230aae9c06d803eb564854868d4801f 100644 (file)
@@ -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;