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:
Mike Erwin 2016-10-01 17:34:41 -04:00
parent 875d63ccb5
commit b8e3d81f31
1 changed files with 2 additions and 2 deletions

View File

@ -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 */