mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 18:40:49 +00:00
Get rid of warning that is inaccurate
This commit is contained in:
parent
128dff15ab
commit
ba0e6bcdea
@ -1245,12 +1245,7 @@ enum rarch_shader_type video_shader_parse_type(const char *path,
|
||||
bool is_preset = false;
|
||||
|
||||
if (!path)
|
||||
{
|
||||
RARCH_WARN("Rendering context is incompatible with shader type: %s\n",
|
||||
path);
|
||||
return fallback;
|
||||
}
|
||||
|
||||
return video_shader_get_type_from_ext(path_get_extension(path),
|
||||
&is_preset);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user