mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-13 21:40:11 +00:00
screw tabs
This commit is contained in:
parent
e552eccaa4
commit
98216544de
3
extern/sdl4ogre/osx_utils.mm
vendored
3
extern/sdl4ogre/osx_utils.mm
vendored
@ -1,13 +1,14 @@
|
||||
#include "osx_utils.h"
|
||||
|
||||
#import <AppKit/NSWindow.h>
|
||||
|
||||
|
||||
namespace SFO {
|
||||
|
||||
unsigned long WindowContentViewHandle(SDL_SysWMinfo &info)
|
||||
{
|
||||
NSWindow *window = info.info.cocoa.window;
|
||||
NSView *view = [window contentView];
|
||||
|
||||
return (unsigned long)view;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user