]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
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 e56b7b3cf4a27b16fbb9140d734f91cbf8fa85b6..68045ed108b4a964e30b02ca7fdfaffc984eac47 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"