]> 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)
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 621442afe1962f1e3fa369c40353c09e52daa5d1..7ff423e2099abe214ca3e4b8c4f05aaef22b1958 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;