There is no GLenum called LIGHT_POSITION
[blender.git] / source / blender / editors / space_view3d / drawmesh.c
index 524b66c852c3ea5584ab2cd0fe0c879bd31baaec..530b26d566a2492e3aa8df7a7bd7a08ab5a893b8 100644 (file)
@@ -387,7 +387,7 @@ static void draw_textured_end(void)
        glDisable(GL_CULL_FACE);
 
        /* XXX, bad patch - GPU_default_lights() calls
-        * glLightfv(GL_LIGHT_POSITION, ...) which
+        * glLightfv(GL_POSITION, ...) which
         * is transformed by the current matrix... we
         * need to make sure that matrix is identity.
         *