From: divverent Date: Sat, 19 Mar 2011 21:03:09 +0000 (+0000) Subject: fix a syntax error in the non-glsl13 case X-Git-Tag: xonotic-v0.6.0~163^2~606 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3b3882e33353f5313b1f64df297ba0f7ce06bf34;p=xonotic%2Fdarkplaces.git fix a syntax error in the non-glsl13 case git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10940 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/shader_glsl.h b/shader_glsl.h index bf8a38a2..0d4d3b5f 100644 --- a/shader_glsl.h +++ b/shader_glsl.h @@ -31,8 +31,8 @@ "# endif\n" "# define dp_varying varying\n" "# define dp_attribute attribute\n" -"# define dp_offsetmapping_dFdx(a) 0\n" -"# define dp_offsetmapping_dFdy(a) 0\n" +"# define dp_offsetmapping_dFdx(a) vec2(0.0, 0.0)\n" +"# define dp_offsetmapping_dFdy(a) vec2(0.0, 0.0)\n" "# define dp_textureGrad(a,b,c,d) texture2D(a,b)\n" "# define dp_texture2D texture2D\n" "# define dp_texture3D texture3D\n"