Put ifdef around gfx_shader_parse_type

This commit is contained in:
twinaphex 2014-09-12 00:20:46 +02:00
parent f7baa4c636
commit c24e18910f

View File

@ -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)