From 6fb93fa20833e3fa1cc03f93eb523b3d5d8ec562 Mon Sep 17 00:00:00 2001 From: Tobias Markus Date: Fri, 23 Dec 2016 01:17:31 +0100 Subject: [PATCH] Fix compilation on macOS 10.12 (#2701) --- lib/irrlicht/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/irrlicht/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm b/lib/irrlicht/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm index 3550ab9ec..73845c9c7 100644 --- a/lib/irrlicht/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm +++ b/lib/irrlicht/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm @@ -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]];