Commit 559cdaeb authored by hybrid's avatar hybrid

Init moved to genericInit in Driver.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2884 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 237464bb
...@@ -621,11 +621,6 @@ bool CIrrDeviceMacOSX::createWindow() ...@@ -621,11 +621,6 @@ bool CIrrDeviceMacOSX::createWindow()
CGLSetCurrentContext(CGLContext); CGLSetCurrentContext(CGLContext);
newSwapInterval = (CreationParams.Vsync) ? 1 : 0; newSwapInterval = (CreationParams.Vsync) ? 1 : 0;
CGLSetParameter(CGLContext,kCGLCPSwapInterval,&newSwapInterval); CGLSetParameter(CGLContext,kCGLCPSwapInterval,&newSwapInterval);
glViewport(0,0,DeviceWidth,DeviceHeight);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
} }
return (result); return (result);
......
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