mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Cover both HAVE_COCOA and HAVE_COCOA_METAL for now
This commit is contained in:
parent
794b430bac
commit
63bf68d616
@ -744,7 +744,7 @@ static void cocoa_input_keypress_vibrate(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_COCOA)
|
||||
#if defined(HAVE_COCOA) || defined(HAVE_COCOA_METAL)
|
||||
static void cocoa_input_grab_mouse(void *data, bool state)
|
||||
{
|
||||
cocoa_input_data_t *apple = (cocoa_input_data_t*)data;
|
||||
@ -773,7 +773,7 @@ input_driver_t input_cocoa = {
|
||||
cocoa_input_get_sensor_input,
|
||||
cocoa_input_get_capabilities,
|
||||
"cocoa",
|
||||
#if defined(HAVE_COCOA)
|
||||
#if defined(HAVE_COCOA) || defined(HAVE_COCOA_METAL)
|
||||
cocoa_input_grab_mouse,
|
||||
#else
|
||||
NULL, /* grab_mouse */
|
||||
|
Loading…
x
Reference in New Issue
Block a user