]> de.git.xonotic.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)
committerRudolf Polzer <divVerent@alientrap.org>
Wed, 6 Jan 2010 08:34:48 +0000 (09:34 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9786 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=006ce514d0c3f0b307caed2f4fe951ea4f6ffb62

gl_rmain.c

index cae1c59c3fec284e8b9b905748fea999f158c59f..6a165a5f8d7164d8e4601527471d4ad100e5a72a 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"