mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-03-01 16:15:35 +00:00
(RGUI) Add need_refresh for increasing/decreasing shader passes
This commit is contained in:
parent
b7c89b44d6
commit
c567bec9bc
@ -1166,13 +1166,19 @@ int menu_set_settings(void *data, unsigned setting, unsigned action)
|
||||
|
||||
case RGUI_ACTION_LEFT:
|
||||
if (rgui->shader.passes)
|
||||
{
|
||||
rgui->shader.passes--;
|
||||
rgui->need_refresh = true;
|
||||
}
|
||||
break;
|
||||
|
||||
case RGUI_ACTION_RIGHT:
|
||||
case RGUI_ACTION_OK:
|
||||
if (rgui->shader.passes < RGUI_MAX_SHADERS)
|
||||
{
|
||||
rgui->shader.passes++;
|
||||
rgui->need_refresh = true;
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user