Cleanup: Use higher level function

This kind of abstracts OpenGL details, and this is what is used in
other areas as well.
This commit is contained in:
2019-04-09 17:06:32 +02:00
parent b5d1e0ad1e
commit 59955a297e

View File

@@ -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
}
}