mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-10-02 17:43:41 -04: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"
|
#include "osx_utils.h"
|
||||||
|
|
||||||
#import <AppKit/NSWindow.h>
|
#import <AppKit/NSWindow.h>
|
||||||
|
|
||||||
|
|
||||||
namespace SFO {
|
namespace SFO {
|
||||||
|
|
||||||
unsigned long WindowContentViewHandle(SDL_SysWMinfo &info)
|
unsigned long WindowContentViewHandle(SDL_SysWMinfo &info)
|
||||||
{
|
{
|
||||||
NSWindow *window = info.info.cocoa.window;
|
NSWindow *window = info.info.cocoa.window;
|
||||||
NSView *view = [window contentView];
|
NSView *view = [window contentView];
|
||||||
|
|
||||||
return (unsigned long)view;
|
return (unsigned long)view;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user