From 59955a297ed955d022f3c76374091a824cfe2e6c Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 9 Apr 2019 17:06:32 +0200 Subject: [PATCH] Cleanup: Use higher level function This kind of abstracts OpenGL details, and this is what is used in other areas as well. --- source/blender/editors/screen/glutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }