fixed missing \n"
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 5 Jan 2010 18:34:06 +0000 (18:34 +0000)
committereihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 5 Jan 2010 18:34:06 +0000 (18:34 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9786 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index e56b7b3..68045ed 100644 (file)
@@ -2979,7 +2979,7 @@ const char *builtincgshaderstring =
 "\n"
 "#ifdef MODE_LIGHTDIRECTION\n"
 "#define SHADING\n"
-"#ifdef USEDIFFUSE
+"#ifdef USEDIFFUSE\n"
 "      half3 lightnormal = half3(normalize(LightVector));\n"
 "#endif\n"
 "#define lightcolor LightColor\n"