Fix compilation on macOS 10.12 (#2701)
This commit is contained in:
parent
8008ec851e
commit
6fb93fa208
@ -719,7 +719,7 @@ bool CIrrDeviceMacOSX::createWindow()
|
||||
if (!CreationParams.WindowId)
|
||||
{
|
||||
[Window center];
|
||||
[(NSFileManager *)Window setDelegate:[NSApp delegate]];
|
||||
[(NSFileManager *)Window setDelegate:[(NSFileManager *)NSApp delegate]];
|
||||
|
||||
if(CreationParams.DriverType == video::EDT_OPENGL)
|
||||
[OGLContext setView:[Window contentView]];
|
||||
|
Loading…
Reference in New Issue
Block a user