mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Ensure {set,unset}_runtime_shader_preset are always defined
These functions are used elsewhere, so they need to be defined. (Or we could guard every place they're called instead)
This commit is contained in:
parent
5f87fa1aca
commit
621c79dd3c
@ -1332,6 +1332,9 @@ static void retroarch_unset_runtime_shader_preset(void)
|
|||||||
{
|
{
|
||||||
runtime_shader_preset[0] = '\0';
|
runtime_shader_preset[0] = '\0';
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
static void retroarch_set_runtime_shader_preset(const char *arg) {}
|
||||||
|
static void retroarch_unset_runtime_shader_preset(void) {}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MEASURE_FRAME_TIME_SAMPLES_COUNT (2 * 1024)
|
#define MEASURE_FRAME_TIME_SAMPLES_COUNT (2 * 1024)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user