Merge pull request #9501 from justinweiss/always-define-runtime-shader-preset

Ensure {set,unset}_runtime_shader_preset are always defined
This commit is contained in:
Twinaphex 2019-09-23 11:10:34 +02:00 committed by GitHub
commit 80b62fc635
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -1332,6 +1332,9 @@ static void retroarch_unset_runtime_shader_preset(void)
{
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
#define MEASURE_FRAME_TIME_SAMPLES_COUNT (2 * 1024)