Skip to content

Commit 01d6266

Browse files
committed
Made a mistake, mb
1 parent b70380c commit 01d6266

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

gfx/drivers_context/cocoa_gl_ctx.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,6 @@ static bool cocoa_gl_gfx_ctx_set_video_mode(void *data,
488488
mode.fullscreen = fullscreen;
489489
[apple_platform setVideoMode:mode];
490490
cocoa_show_mouse(data, !fullscreen);
491-
has_went_fullscreen = fullscreen;
492491
#else
493492
/* Hand-rolled fullscreen for the non-Metal path.
494493
*
@@ -608,6 +607,8 @@ static bool cocoa_gl_gfx_ctx_set_video_mode(void *data,
608607

609608
[[g_view window] setContentSize:NSMakeSize(width, height)];
610609
}
610+
611+
has_went_fullscreen = fullscreen;
611612
#endif
612613

613614
return true;

0 commit comments

Comments
 (0)