Commit: b8e3d81f31ee2333d06df1a7fe243befad8c18eb
Author: Mike Erwin
Date:   Sat Oct 1 17:34:41 2016 -0400
Branches: blender2.8
https://developer.blender.org/rBb8e3d81f31ee2333d06df1a7fe243befad8c18eb

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.

===================================================================

M       source/blender/gpu/intern/gpu_draw.c

===================================================================

diff --git a/source/blender/gpu/intern/gpu_draw.c 
b/source/blender/gpu/intern/gpu_draw.c
index 96a35f0..6717ad0 100644
--- a/source/blender/gpu/intern/gpu_draw.c
+++ b/source/blender/gpu/intern/gpu_draw.c
@@ -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 */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to