Merge pull request #1652 from tobbi/fix_mac_compilation
Fix compilation on OSX 10.10
This commit is contained in:
commit
7d06cfa2d0
@ -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]];
|
||||
|
Loading…
Reference in New Issue
Block a user