Remove glFinish in OSX

From http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=49052

It should not exist in any case
This commit is contained in:
Benau 2019-10-25 15:39:35 +08:00
parent 04dd5a8bfb
commit ed6d657d90

View File

@ -990,10 +990,7 @@ void CIrrDeviceMacOSX::flush()
{ {
#ifndef SERVER_ONLY #ifndef SERVER_ONLY
if (CGLContext != NULL) if (CGLContext != NULL)
{
glFinish();
CGLFlushDrawable(CGLContext); CGLFlushDrawable(CGLContext);
}
#endif #endif
} }