(MSVC) Buildfix

This commit is contained in:
twinaphex 2016-11-23 10:27:31 +01:00
parent 2b4e4d56cd
commit 6893e8f97e

View File

@ -2176,7 +2176,7 @@ static bool config_load_file(const char *path, bool set_defaults,
{ {
if(strstr(file_path_str((enum file_path_enum)(i)), path_get_extension(settings->path.shader))) if(strstr(file_path_str((enum file_path_enum)(i)), path_get_extension(settings->path.shader)))
{ {
if (!check_shader_compatibility(i)) if (!check_shader_compatibility((enum file_path_enum)i))
{ {
RARCH_LOG("Incompatible shader for backend %s, clearing...\n", settings->video.driver); RARCH_LOG("Incompatible shader for backend %s, clearing...\n", settings->video.driver);
settings->path.shader[0] = '\0'; settings->path.shader[0] = '\0';