From d0a9de01a35dad7255a1011844c6db5da2b53d77 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Wed, 1 Apr 2020 20:41:38 +0200 Subject: [PATCH] (GL) Fix unused variable setting --- gfx/drivers/gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers/gl.c b/gfx/drivers/gl.c index b1d2eaf3a9..88bf0bcc12 100644 --- a/gfx/drivers/gl.c +++ b/gfx/drivers/gl.c @@ -783,8 +783,8 @@ static void gl2_create_fbo_texture(gl_t *gl, bool smooth = false; settings_t *settings = config_get_ptr(); bool video_smooth = settings->bools.video_smooth; - bool video_ctx_scaling = settings->bools.video_ctx_scaling; #if HAVE_ODROIDGO2 + bool video_ctx_scaling = settings->bools.video_ctx_scaling; if (video_ctx_scaling) video_smooth = false; #endif