mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-08 10:51:11 +00:00
BACKENDS: OPENGL: Close old preset before opening a new one
This commit is contained in:
parent
a6dd037079
commit
52903aff8a
@ -337,6 +337,8 @@ void LibRetroPipeline::deactivateInternal() {
|
||||
}
|
||||
|
||||
bool LibRetroPipeline::open(const Common::FSNode &shaderPreset) {
|
||||
close();
|
||||
|
||||
_shaderPreset = LibRetro::parsePreset(shaderPreset);
|
||||
if (!_shaderPreset)
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user