From: havoc Date: Wed, 26 Jan 2005 03:38:50 +0000 (+0000) Subject: print glsl/light as the shader that failed X-Git-Tag: xonotic-v0.1.0preview~5182 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1ec804be7a2dfc116f97f00d35ad859f17f79e3a;p=xonotic%2Fdarkplaces.git print glsl/light as the shader that failed git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4967 d7cf8633-e32d-0410-b094-e92efae38249 --- 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]);