Skip to content

Commit

Permalink
Add NSFullScreenWindowMask on NSWindow
Browse files Browse the repository at this point in the history
Possibly needed; see arescentral#218.
  • Loading branch information
sfiera committed May 6, 2018
1 parent a15efd0 commit 1db9321
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mac/c/CocoaVideoDriver.m
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ void antares_mouse_show() {
window->context = [[NSOpenGLContext alloc] initWithCGLContextObj:context];

NSRect window_rect = NSMakeRect(0, 0, 640, 480);
int style_mask = NSTitledWindowMask | NSMiniaturizableWindowMask | NSResizableWindowMask;
int style_mask = NSTitledWindowMask | NSMiniaturizableWindowMask | NSResizableWindowMask |
NSFullScreenWindowMask;

window->view =
[[NSOpenGLView alloc] initWithFrame:window_rect pixelFormat:window->pixel_format];
Expand Down

0 comments on commit 1db9321

Please sign in to comment.