Merge pull request #1652 from tobbi/fix_mac_compilation

Fix compilation on OSX 10.10
This commit is contained in:
auriamg 2014-11-01 18:53:23 -04:00
commit 7d06cfa2d0

View File

@ -719,7 +719,7 @@ bool CIrrDeviceMacOSX::createWindow()
if (!CreationParams.WindowId)
{
[Window center];
[Window setDelegate:[NSApp delegate]];
[(NSFileManager *)Window setDelegate:[NSApp delegate]];
if(CreationParams.DriverType == video::EDT_OPENGL)
[OGLContext setView:[Window contentView]];