fix SHADERSTATICPARMS_COUNT to right value
authorvortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 30 Oct 2010 18:55:47 +0000 (18:55 +0000)
committervortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 30 Oct 2010 18:55:47 +0000 (18:55 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10573 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index 621442a..7ff423e 100644 (file)
@@ -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;