OpenGL: fix point sprites
Apparently GL_POINT_SPRITE is important to GL 3.2+ compatibility profile, not just to GL 2.1 as thought. We'll remove this during the core profile transition.
This commit is contained in:
parent
875d63ccb5
commit
b8e3d81f31
|
@ -2249,10 +2249,10 @@ void GPU_state_init(void)
|
|||
GPU_default_lights();
|
||||
|
||||
GPU_disable_program_point_size();
|
||||
#ifdef __APPLE__
|
||||
|
||||
/* TODO: remove this when we switch to core profile */
|
||||
glEnable(GL_POINT_SPRITE);
|
||||
#endif
|
||||
|
||||
|
||||
glDepthFunc(GL_LEQUAL);
|
||||
/* scaling matrices */
|
||||
|
|
Loading…
Reference in New Issue