BACKENDS: OPENGL: Fix shader prefix path

This commit is contained in:
Lothar Serra Mari 2021-04-18 20:47:30 +02:00 committed by Eugene Sandulenko
parent 4f4f0b82a8
commit 133341adf5

View File

@ -449,7 +449,7 @@ ShaderPreset *parsePreset(const Common::String &fileName) {
return nullptr;
}
Common::FSNode basePath(".");
Common::FSNode basePath("./shaders/presets/");
if (!basePath.exists() || !basePath.isReadable() || !basePath.isDirectory()) {
warning("LibRetro Preset Parsing: Base path '%s' to file '%s' invalid", basePath.getPath().c_str(), fileName.c_str());
return nullptr;