diff --git a/frontend/platform/platform_apple.c b/frontend/platform/platform_apple.c index 8bc7e115e2..9456dad6f9 100644 --- a/frontend/platform/platform_apple.c +++ b/frontend/platform/platform_apple.c @@ -70,7 +70,7 @@ int apple_rarch_load_content(int argc, char* argv[]) if (rarch_main_init(argc, argv)) return 1; - menu_init(); + menu_init(driver.video_data); if (!g_extern.libretro_dummy) menu_rom_history_push_current(); diff --git a/gfx/context/apple_gl_ctx.c b/gfx/context/apple_gl_ctx.c index ca98774648..9a493640c8 100644 --- a/gfx/context/apple_gl_ctx.c +++ b/gfx/context/apple_gl_ctx.c @@ -31,13 +31,12 @@ static void gfx_ctx_check_window(void *data, bool *quit, bool *resize, unsigned *width, unsigned *height, unsigned frame_count) { - (void)data; (void)frame_count; *quit = false; unsigned new_width, new_height; - apple_gfx_ctx_get_video_size(&new_width, &new_height); + apple_gfx_ctx_get_video_size(data, &new_width, &new_height); if (new_width != *width || new_height != *height) { *width = new_width;