mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-02-25 05:02:29 -05:00
VideoBackends: Make TextureCache::CompileShaders return a bool
This commit is contained in:
@@ -133,7 +133,8 @@ void TextureCacheBase::OnConfigChanged(VideoConfig& config)
|
||||
config.bStereoEFBMonoDepth != backup_config.s_efb_mono_depth)
|
||||
{
|
||||
g_texture_cache->DeleteShaders();
|
||||
g_texture_cache->CompileShaders();
|
||||
if (!g_texture_cache->CompileShaders())
|
||||
PanicAlert("Failed to recompile one or more texture conversion shaders.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user