forked from bartvdbraak/blender
There is no GLenum called LIGHT_POSITION
There is an FAQ that mentions a mythical GL_LIGHT_POSITION, and lots of programmers speak of it, but this mythical creature does not exist! The correct symbol is GL_POSITION
This commit is contained in:
parent
4ea8c9ab38
commit
0fcb7d813e
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user