Skip to content

Commit

Permalink
C89_BUILD fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LibretroAdmin committed Dec 22, 2024
1 parent e26a38c commit f8317a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gfx/video_shader_parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -2776,8 +2776,6 @@ static bool video_shader_load_shader_preset_internal(
{
int i;
gfx_ctx_flags_t flags;
flags.flags = 0;

static enum rarch_shader_type types[] =
{
/* Shader preset priority, highest to lowest
Expand All @@ -2791,6 +2789,7 @@ static bool video_shader_load_shader_preset_internal(
GFX_CTX_FLAGS_SHADERS_GLSL, GFX_CTX_FLAGS_SHADERS_SLANG, GFX_CTX_FLAGS_SHADERS_CG, GFX_CTX_FLAGS_SHADERS_HLSL
};

flags.flags = 0;
video_context_driver_get_flags(&flags);

for (i = 0; i < (int)ARRAY_SIZE(types); i++)
Expand Down

0 comments on commit f8317a2

Please sign in to comment.