]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix a stupid typo in the vertex shader
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 11 Sep 2005 08:33:52 +0000 (08:33 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 11 Sep 2005 08:33:52 +0000 (08:33 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5717 d7cf8633-e32d-0410-b094-e92efae38249

r_shadow.c

index 45ce01fc0dde72ecedb925d0dbcb37d891e08aab..59d729963c1e72a2d3f2dce5e6ebfcb97b4abb4b 100644 (file)
@@ -296,7 +296,7 @@ const char *builtinshader_light_vert =
 "void main(void)\n"
 "{\n"
 "      // copy the surface texcoord\n"
-"      TexCoord = vec2(gl_TextureMatrix[0] * glMultiTexCoord0);\n"
+"      TexCoord = vec2(gl_TextureMatrix[0] * gl_MultiTexCoord0);\n"
 "\n"
 "      // transform vertex position into light attenuation/cubemap space\n"
 "      // (-1 to +1 across the light box)\n"