Merge pull request #11782 from crystalct/master

Avoid crashes when a not implemented Pipeline is chosen in old platfo…
This commit is contained in:
Autechre 2021-01-07 09:37:57 +01:00 committed by GitHub
commit f40644c901
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -279,6 +279,7 @@ enum xmb_icon_theme
enum xmb_shader_pipeline
{
#ifndef HAVE_PSGL
XMB_SHADER_PIPELINE_WALLPAPER = 0,
XMB_SHADER_PIPELINE_SIMPLE_RIBBON,
XMB_SHADER_PIPELINE_RIBBON,
@ -287,6 +288,16 @@ enum xmb_shader_pipeline
XMB_SHADER_PIPELINE_BOKEH,
XMB_SHADER_PIPELINE_SNOWFLAKE,
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