]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_shadow.c
fix a stupid typo in the vertex shader
[xonotic/darkplaces.git] / 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"