mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +00:00
remove dpi hack
the existing method works fine on later release targets, so we just need to remember to set those.
This commit is contained in:
parent
0c792898b8
commit
d5a6a1d4a6
@ -388,7 +388,7 @@ static bool cocoagl_gfx_ctx_get_metrics(void *data, enum display_metric_types ty
|
|||||||
#else
|
#else
|
||||||
float scale = 1.0f;
|
float scale = 1.0f;
|
||||||
#endif
|
#endif
|
||||||
float dpi = (display_width/ physical_width) * 25.4f * scale * 3.0f;
|
float dpi = (display_width/ physical_width) * 25.4f * scale;
|
||||||
#elif defined(HAVE_COCOATOUCH)
|
#elif defined(HAVE_COCOATOUCH)
|
||||||
float scale = cocoagl_gfx_ctx_get_native_scale();
|
float scale = cocoagl_gfx_ctx_get_native_scale();
|
||||||
CGRect screen_rect = [[UIScreen mainScreen] bounds];
|
CGRect screen_rect = [[UIScreen mainScreen] bounds];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user