mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-18 00:32:46 +00:00
(Menu) RGUI_MAX_SHADERS becomes GFX_MAX_SHADERS
This commit is contained in:
parent
064a0c87a0
commit
b6484f80ab
@ -48,7 +48,9 @@ extern "C" {
|
||||
|
||||
#include "history.h"
|
||||
|
||||
#define RGUI_MAX_SHADERS 8
|
||||
#ifndef GFX_MAX_SHADERS
|
||||
#define GFX_MAX_SHADERS 16
|
||||
#endif
|
||||
|
||||
typedef enum
|
||||
{
|
||||
@ -95,7 +97,7 @@ typedef enum
|
||||
RGUI_SETTINGS_SHADER_0,
|
||||
RGUI_SETTINGS_SHADER_0_FILTER,
|
||||
RGUI_SETTINGS_SHADER_0_SCALE,
|
||||
RGUI_SETTINGS_SHADER_LAST = RGUI_SETTINGS_SHADER_0_SCALE + (3 * (RGUI_MAX_SHADERS - 1)),
|
||||
RGUI_SETTINGS_SHADER_LAST = RGUI_SETTINGS_SHADER_0_SCALE + (3 * (GFX_MAX_SHADERS - 1)),
|
||||
RGUI_SETTINGS_SHADER_PRESET_SAVE,
|
||||
|
||||
// settings options are done here too
|
||||
|
@ -1638,7 +1638,7 @@ int menu_set_settings(void *data, unsigned setting, unsigned action)
|
||||
|
||||
case RGUI_ACTION_RIGHT:
|
||||
case RGUI_ACTION_OK:
|
||||
if (rgui->shader.passes < RGUI_MAX_SHADERS)
|
||||
if (rgui->shader.passes < GFX_MAX_SHADERS)
|
||||
{
|
||||
rgui->shader.passes++;
|
||||
rgui->need_refresh = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user