Merge pull request #8454 from cold-brewed/macosgltempfix

(macOS) Add temporary GL hack
This commit is contained in:
Twinaphex 2019-03-12 21:44:36 +01:00 committed by GitHub
commit 911a6a905b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);