From 8a6de4adfbc6f7e3642c2aa0a36fe6a77658d67a Mon Sep 17 00:00:00 2001 From: cold-brewed Date: Mon, 11 Mar 2019 19:16:59 -0400 Subject: [PATCH] (macOS) Add temporary GL hack --- gfx/drivers/gl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gfx/drivers/gl.c b/gfx/drivers/gl.c index 707d291994..fee4b5c481 100644 --- a/gfx/drivers/gl.c +++ b/gfx/drivers/gl.c @@ -3305,6 +3305,10 @@ static void *gl2_init(const video_info_t *video, if (!video_context_driver_set_video_mode(&mode)) goto error; +#if defined(__APPLE__) && !defined(IOS) + if (!video_context_driver_set_video_mode(&mode)) + goto error; +#endif #if !defined(RARCH_CONSOLE) || defined(HAVE_LIBNX) rglgen_resolve_symbols(ctx_driver->get_proc_address);