mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 18:32:44 +00:00
C89_BUILD fix
This commit is contained in:
parent
e26a38c8d4
commit
f8317a2a7e
@ -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
|
||||
@ -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++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user