Commit ae9a3a40 authored by nadro's avatar nadro

- Removed unnecessary glFinish call on OSX platform. Thanks devonsoft for report this bug.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4580 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 70ba3127
...@@ -971,10 +971,7 @@ void CIrrDeviceMacOSX::createDriver() ...@@ -971,10 +971,7 @@ void CIrrDeviceMacOSX::createDriver()
void CIrrDeviceMacOSX::flush() void CIrrDeviceMacOSX::flush()
{ {
if (CGLContext != NULL) if (CGLContext != NULL)
{
glFinish();
CGLFlushDrawable(CGLContext); CGLFlushDrawable(CGLContext);
}
} }
bool CIrrDeviceMacOSX::run() bool CIrrDeviceMacOSX::run()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment