From b90c2d440c97977ae6713bc2e94cfb54ca2ae43d Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Sun, 22 Dec 2024 22:11:19 +0100 Subject: [PATCH] Another buildfix --- gfx/video_shader_parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/video_shader_parse.c b/gfx/video_shader_parse.c index 2eb831d7f7..4341be081f 100644 --- a/gfx/video_shader_parse.c +++ b/gfx/video_shader_parse.c @@ -2782,7 +2782,7 @@ static bool video_shader_load_shader_preset_internal( * only important for video drivers with multiple shader backends */ RARCH_SHADER_GLSL, RARCH_SHADER_SLANG, RARCH_SHADER_CG, RARCH_SHADER_HLSL }; - static enum rarch_shader_type types_trans[] = + static enum display_flags types_flags[] = { /* Shader preset priority, highest to lowest * only important for video drivers with multiple shader backends */ @@ -2794,7 +2794,7 @@ static bool video_shader_load_shader_preset_internal( for (i = 0; i < (int)ARRAY_SIZE(types); i++) { - if (!BIT32_GET(flags.flags, types_trans[i])) + if (!BIT32_GET(flags.flags, types_flags[i])) continue; /* Concatenate strings into full paths */