mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
(Apple) Build fix
This commit is contained in:
parent
767f2a4466
commit
7cdc23505c
@ -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();
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user