Commit: 59955a297ed955d022f3c76374091a824cfe2e6c
Author: Sergey Sharybin
Date:   Tue Apr 9 17:06:32 2019 +0200
Branches: master
https://developer.blender.org/rB59955a297ed955d022f3c76374091a824cfe2e6c

Cleanup: Use higher level function

This kind of abstracts OpenGL details, and this is what is used in
other areas as well.

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

M       source/blender/editors/screen/glutil.c

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

diff --git a/source/blender/editors/screen/glutil.c 
b/source/blender/editors/screen/glutil.c
index 4dc3b24c309..1606a159e38 100644
--- a/source/blender/editors/screen/glutil.c
+++ b/source/blender/editors/screen/glutil.c
@@ -291,7 +291,7 @@ void immDrawPixelsTexScaled_clipping(IMMDrawPixelsTexState 
*state,
                         * bleeding of data is happening from tiles which are 
drawn later on.
                         * This doesn't seem to be too slow, but still would be 
nice to have fast and nice solution. */
 #ifdef __APPLE__
-                       glFlush();
+                       GPU_flush();
 #endif
                }
        }

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

Reply via email to