From 98f137138f9c7ef3df63f57303279ad2ff3e0b20 Mon Sep 17 00:00:00 2001 From: divverent Date: Sat, 19 Mar 2011 12:47:55 +0000 Subject: [PATCH] fix a possible glsl compile error (no idea why it didn't throw any yet, weird cpp on nvidia?) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10931 d7cf8633-e32d-0410-b094-e92efae38249 --- shader_glsl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shader_glsl.h b/shader_glsl.h index 15f95df3..0801e6d7 100644 --- a/shader_glsl.h +++ b/shader_glsl.h @@ -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" -- 2.39.2