Fix unused variable warning

This commit is contained in:
Twinaphex 2020-04-01 20:43:03 +02:00
parent d0a9de01a3
commit 8292f31ea0

View File

@ -3996,9 +3996,8 @@ static void gl2_update_tex_filter_frame(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;
#ifdef HAVE_ODROIDGO2
bool video_ctx_scaling = settings->bools.video_ctx_scaling;
if (video_ctx_scaling)
video_smooth = false;
#endif