mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Buildfix for non-shader targets
This commit is contained in:
parent
31a7f2b4d9
commit
20f3b8d404
@ -5559,6 +5559,7 @@ static int action_ok_push_dropdown_item_video_shader_param_generic(const char *p
|
||||
const char *label, unsigned type, size_t idx, size_t entry_idx,
|
||||
size_t setting_offset)
|
||||
{
|
||||
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_SLANG) || defined(HAVE_HLSL)
|
||||
video_shader_ctx_t shader_info;
|
||||
unsigned offset = setting_offset;
|
||||
float val = atof(path);
|
||||
@ -5580,6 +5581,9 @@ static int action_ok_push_dropdown_item_video_shader_param_generic(const char *p
|
||||
menu_shader_set_modified(true);
|
||||
|
||||
return action_cancel_pop_default(NULL, NULL, 0, 0);
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
static int action_ok_push_dropdown_item_video_shader_param(const char *path,
|
||||
|
Loading…
x
Reference in New Issue
Block a user