diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-04-09 18:06:32 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-04-09 18:06:32 +0300 |
commit | 59955a297ed955d022f3c76374091a824cfe2e6c (patch) | |
tree | 3598b2a51c05cba8d015c70eb1c28517146b4781 /source/blender/editors/screen/glutil.c | |
parent | b5d1e0ad1e58307def918f00bddce01041266056 (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.c | 2 |
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 } } |