mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +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
|
||||
float scale = 1.0f;
|
||||
#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)
|
||||
float scale = cocoagl_gfx_ctx_get_native_scale();
|
||||
CGRect screen_rect = [[UIScreen mainScreen] bounds];
|
||||
|
Loading…
x
Reference in New Issue
Block a user