mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Merge pull request #6189 from cucholix/patch-2
Allow auto loading of slangp presets on GX2
This commit is contained in:
commit
f51560cb0e
@ -2265,7 +2265,8 @@ static bool check_shader_compatibility(enum file_path_enum enum_idx)
|
|||||||
{
|
{
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
|
|
||||||
if (string_is_equal(settings->arrays.video_driver, "vulkan"))
|
if (string_is_equal(settings->arrays.video_driver, "vulkan")) ||
|
||||||
|
string_is_equal(settings->arrays.video_driver, "gx2"))
|
||||||
{
|
{
|
||||||
if (enum_idx != FILE_PATH_SLANGP_EXTENSION)
|
if (enum_idx != FILE_PATH_SLANGP_EXTENSION)
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user