mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
Avoid crashes when a not implemented Pipeline is chosen in old platformse
This commit is contained in:
parent
ab7b4db9f2
commit
ddcd4c6a1f
@ -279,6 +279,7 @@ enum xmb_icon_theme
|
|||||||
|
|
||||||
enum xmb_shader_pipeline
|
enum xmb_shader_pipeline
|
||||||
{
|
{
|
||||||
|
#ifndef HAVE_PSGL
|
||||||
XMB_SHADER_PIPELINE_WALLPAPER = 0,
|
XMB_SHADER_PIPELINE_WALLPAPER = 0,
|
||||||
XMB_SHADER_PIPELINE_SIMPLE_RIBBON,
|
XMB_SHADER_PIPELINE_SIMPLE_RIBBON,
|
||||||
XMB_SHADER_PIPELINE_RIBBON,
|
XMB_SHADER_PIPELINE_RIBBON,
|
||||||
@ -287,6 +288,16 @@ enum xmb_shader_pipeline
|
|||||||
XMB_SHADER_PIPELINE_BOKEH,
|
XMB_SHADER_PIPELINE_BOKEH,
|
||||||
XMB_SHADER_PIPELINE_SNOWFLAKE,
|
XMB_SHADER_PIPELINE_SNOWFLAKE,
|
||||||
XMB_SHADER_PIPELINE_LAST
|
XMB_SHADER_PIPELINE_LAST
|
||||||
|
#else
|
||||||
|
XMB_SHADER_PIPELINE_WALLPAPER = 0,
|
||||||
|
XMB_SHADER_PIPELINE_SIMPLE_RIBBON,
|
||||||
|
XMB_SHADER_PIPELINE_RIBBON,
|
||||||
|
XMB_SHADER_PIPELINE_LAST,
|
||||||
|
XMB_SHADER_PIPELINE_SIMPLE_SNOW,
|
||||||
|
XMB_SHADER_PIPELINE_SNOW,
|
||||||
|
XMB_SHADER_PIPELINE_BOKEH,
|
||||||
|
XMB_SHADER_PIPELINE_SNOWFLAKE
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
enum rgui_thumbnail_scaler
|
enum rgui_thumbnail_scaler
|
||||||
|
Loading…
Reference in New Issue
Block a user