mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-03 05:49:41 +03:00
osx : fix syscalls
This commit is contained in:
@@ -1566,7 +1566,7 @@ void *CGame::GetMainWindowPlatformSpecificHandle( void )
|
||||
#ifdef OSX
|
||||
id nsWindow = (id)pInfo.info.cocoa.window;
|
||||
SEL selector = sel_registerName("windowRef");
|
||||
id windowRef = objc_msgSend( nsWindow, selector );
|
||||
id windowRef = ((id(*)(id, SEL))objc_msgSend)( nsWindow, selector );
|
||||
return windowRef;
|
||||
#else
|
||||
// Not used on Linux.
|
||||
|
||||
Reference in New Issue
Block a user