(iOS) Use -1 instead of UIUserInterfaceIdiomUnspecified for backwards

compatibility
This commit is contained in:
twinaphex 2016-03-02 17:25:13 +01:00
parent 1d0beeb665
commit 0f8e31cad3

View File

@ -454,7 +454,7 @@ static bool cocoagl_gfx_ctx_get_metrics(void *data, enum display_metric_types ty
switch (UI_USER_INTERFACE_IDIOM())
{
case UIUserInterfaceIdiomUnspecified:
case -1: /* UIUserInterfaceIdiomUnspecified */
/* TODO */
break;
case UIUserInterfaceIdiomPad: