Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-04-09 18:06:32 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-04-09 18:06:32 +0300
commit59955a297ed955d022f3c76374091a824cfe2e6c (patch)
tree3598b2a51c05cba8d015c70eb1c28517146b4781 /source/blender/editors/screen/glutil.c
parentb5d1e0ad1e58307def918f00bddce01041266056 (diff)
Cleanup: Use higher level function
This kind of abstracts OpenGL details, and this is what is used in other areas as well.
Diffstat (limited to 'source/blender/editors/screen/glutil.c')
-rw-r--r--source/blender/editors/screen/glutil.c2
1 files changed, 1 insertions, 1 deletions
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
}
}