Skip to content

Commit

Permalink
(OSX) Buildfix
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Feb 7, 2019
1 parent fa4494f commit 2cad3e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/drivers/cocoa/ui_cocoa_window.m
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ static void ui_window_cocoa_set_focused(void *data)
{
ui_window_cocoa_t *cocoa = (ui_window_cocoa_t*)data;
#if defined(HAVE_COCOA_METAL)
CocoaView *cocoa_view = (CocoaView*)cocoa->data;
#elif defined(HAVE_COCOA)
CocoaView *cocoa_view = (BRIDGE CocoaView*)cocoa->data;
#elif defined(HAVE_COCOA)
CocoaView *cocoa_view = (CocoaView*)cocoa->data;
#endif
[[cocoa_view window] makeKeyAndOrderFront:nil];
}
Expand Down

0 comments on commit 2cad3e0

Please sign in to comment.