From 8467ce114c64797308cc1e5d66db1ccaa4686f54 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 12 Mar 2016 08:53:27 +0100 Subject: [PATCH] (Android) Followup to earlier commit --- gfx/drivers_context/android_ctx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gfx/drivers_context/android_ctx.c b/gfx/drivers_context/android_ctx.c index 46020783e0..9c444b676d 100644 --- a/gfx/drivers_context/android_ctx.c +++ b/gfx/drivers_context/android_ctx.c @@ -433,7 +433,8 @@ static bool android_gfx_ctx_get_metrics(void *data, dpi_fallback: /* add a fallback in case the device doesn't report DPI. * Hopefully fixes issues with the moto G2. */ - dpi = 90; + dpi = 90; + *value = (float)dpi; return true; }