mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Put ifdef around gfx_shader_parse_type
This commit is contained in:
parent
f7baa4c636
commit
c24e18910f
@ -3682,7 +3682,10 @@ void rarch_main_command(unsigned cmd)
|
||||
driver.menu_ctx->backend->shader_manager_save_preset(NULL, true);
|
||||
else
|
||||
{
|
||||
#if defined(HAVE_CG || defined(HAVE_HLSL) || defined(HAVE_GLSL)
|
||||
shader_type = gfx_shader_parse_type("", DEFAULT_SHADER_TYPE);
|
||||
#endif
|
||||
|
||||
if (shader_type == RARCH_SHADER_NONE)
|
||||
{
|
||||
#if defined(HAVE_GLSL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user