Fix compilation on OSX 10.10

Closes #1646
This commit is contained in:
Tobias Markus 2014-11-01 22:21:42 +01:00
parent f2e33b1000
commit 4861a52c3f

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]];