mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
(Cocoa) Store idiom type inside unsigned variable
This commit is contained in:
parent
78c13f59d0
commit
53fc458795
@ -455,8 +455,9 @@ static bool cocoagl_gfx_ctx_get_metrics(void *data, enum display_metric_types ty
|
|||||||
float physical_width = screen_rect.size.width * scale;
|
float physical_width = screen_rect.size.width * scale;
|
||||||
float physical_height = screen_rect.size.height * scale;
|
float physical_height = screen_rect.size.height * scale;
|
||||||
float dpi = 160 * scale;
|
float dpi = 160 * scale;
|
||||||
|
unsigned idiom_type = UI_USER_INTERFACE_IDIOM();
|
||||||
|
|
||||||
switch (UI_USER_INTERFACE_IDIOM())
|
switch (idiom_type)
|
||||||
{
|
{
|
||||||
case -1: /* UIUserInterfaceIdiomUnspecified */
|
case -1: /* UIUserInterfaceIdiomUnspecified */
|
||||||
/* TODO */
|
/* TODO */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user