From a5ef877c54194120f900afe7f5a4759f2ce7799e Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 29 Jan 2008 19:35:24 +0000 Subject: [PATCH] fix div0's weird MODE_WATER ModelViewProjectionPosition declarations git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8051 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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" -- 2.39.2