From 45947a0534a9a4bb2752f83d2c15e4d7e94aa261 Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Mon, 8 May 2023 23:20:19 +0200 Subject: [PATCH] Turn function static --- gfx/gfx_display.c | 2 +- gfx/gfx_display.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gfx/gfx_display.c b/gfx/gfx_display.c index 466c91bd10..775e2cffee 100644 --- a/gfx/gfx_display.c +++ b/gfx/gfx_display.c @@ -180,7 +180,7 @@ static bool gfx_display_check_compatibility( return false; } -float gfx_display_get_dpi_scale_internal( +static float gfx_display_get_dpi_scale_internal( unsigned width, unsigned height) { float dpi; diff --git a/gfx/gfx_display.h b/gfx/gfx_display.h index d83907715e..b19cdf2704 100644 --- a/gfx/gfx_display.h +++ b/gfx/gfx_display.h @@ -314,8 +314,6 @@ float gfx_display_get_adjusted_scale( gfx_display_t *p_disp, float base_scale, float scale_factor, unsigned width); -float gfx_display_get_dpi_scale_internal(unsigned width, unsigned height); - float gfx_display_get_dpi_scale( gfx_display_t *p_disp, void *settings_data,