From c19f0f6616b99b8dccfceb1f9ecf922458e0b5f6 Mon Sep 17 00:00:00 2001 From: divverent Date: Sat, 12 Jan 2008 16:41:34 +0000 Subject: [PATCH] fix r_glsl_dumpshader git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7952 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_rmain.c b/gl_rmain.c index d80a304d..9a4b48ae 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -1281,7 +1281,7 @@ void R_GLSL_DumpShader_f(void) FS_Print(file, "// #define VERTEX_SHADER\n// #define GEOMETRY_SHADER\n// #define FRAGMENT_SHADER\n"); for (i = 0;i < SHADERMODE_COUNT;i++) FS_Printf(file, "// %s", shadermodeinfo[i].pretext); - for (i = 0;i < SHADERPERMUTATION_LIMIT;i++) + for (i = 0;i < SHADERPERMUTATION_COUNT;i++) FS_Printf(file, "// %s", shaderpermutationinfo[i].pretext); FS_Print(file, "\n"); FS_Print(file, builtinshaderstring); -- 2.39.2