]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix a possible glsl compile error (no idea why it didn't throw any yet, weird cpp...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 19 Mar 2011 12:47:55 +0000 (12:47 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 19 Mar 2011 12:47:55 +0000 (12:47 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10931 d7cf8633-e32d-0410-b094-e92efae38249

shader_glsl.h

index 15f95df3e26a77dcafa403439b8c64016264de52..0801e6d711a749c0420e31c42baa732c8c9bb75f 100644 (file)
@@ -33,7 +33,7 @@
 "# define dp_attribute attribute\n"
 "# define dp_offsetmapping_dFdx(a) 0\n"
 "# define dp_offsetmapping_dFdy(a) 0\n"
-"# define dp_textureGrad(a,b,c,d) dp_texture2D(a,b)\n"
+"# define dp_textureGrad(a,b,c,d) texture2D(a,b)\n"
 "# define dp_texture2D texture2D\n"
 "# define dp_texture3D texture3D\n"
 "# define dp_textureCube textureCube\n"