From: havoc Date: Tue, 29 Jan 2008 19:35:24 +0000 (+0000) Subject: fix div0's weird MODE_WATER ModelViewProjectionPosition declarations X-Git-Tag: xonotic-v0.1.0preview~2463 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a5ef877c54194120f900afe7f5a4759f2ce7799e;p=xonotic%2Fdarkplaces.git fix div0's weird MODE_WATER ModelViewProjectionPosition declarations git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8051 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index 26999b98..87ceb656 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -606,15 +606,13 @@ static const char *builtinshaderstring = "\n" "#ifdef MODE_WATER\n" "varying vec4 ModelViewProjectionPosition;\n" -"#else\n" +"#endif\n" "#ifdef MODE_REFRACTION\n" "varying vec4 ModelViewProjectionPosition;\n" -"#else\n" +"#endif\n" "#ifdef USEREFLECTION\n" "varying vec4 ModelViewProjectionPosition;\n" "#endif\n" -"#endif\n" -"#endif\n" "\n" "\n" "\n"