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:
hizzlekizzle 2015-06-12 13:12:43 -05:00
parent 0c792898b8
commit d5a6a1d4a6

View File

@ -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];