From 1ec804be7a2dfc116f97f00d35ad859f17f79e3a Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 26 Jan 2005 03:38:50 +0000 Subject: [PATCH] print glsl/light as the shader that failed git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4967 d7cf8633-e32d-0410-b094-e92efae38249 --- r_shadow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r_shadow.c b/r_shadow.c index 10829c40..2dde1c8d 100644 --- a/r_shadow.c +++ b/r_shadow.c @@ -460,7 +460,7 @@ void r_shadow_start(void) r_shadow_program_light[i] = GL_Backend_CompileProgram(vertstrings_count, vertstrings_list, fragstrings_count, fragstrings_list); if (!r_shadow_program_light[i]) { - Con_Printf("permutation %s %s %s %s failed for shader %s, some features may not work properly!\n", i & 1 ? "specular" : "", i & 1 ? "fog" : "", i & 1 ? "cubefilter" : "", i & 1 ? "offsetmapping" : ""); + Con_Printf("permutation %s %s %s %s failed for shader %s, some features may not work properly!\n", i & 1 ? "specular" : "", i & 1 ? "fog" : "", i & 1 ? "cubefilter" : "", i & 1 ? "offsetmapping" : "", "glsl/light"); continue; } qglUseProgramObjectARB(r_shadow_program_light[i]); -- 2.39.2