diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-02-18 16:26:31 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-22 17:36:12 +0200 |
commit | e84eb64e511cd4699cc2371744fccd24628c0749 (patch) | |
tree | 43a80c0ecc15f781cf5fdba70deaaa46260683ec /src/video_core/texture_cache | |
parent | ThreadManager: Sync async reads on accurate gpu. (diff) | |
download | yuzu-e84eb64e511cd4699cc2371744fccd24628c0749.tar yuzu-e84eb64e511cd4699cc2371744fccd24628c0749.tar.gz yuzu-e84eb64e511cd4699cc2371744fccd24628c0749.tar.bz2 yuzu-e84eb64e511cd4699cc2371744fccd24628c0749.tar.lz yuzu-e84eb64e511cd4699cc2371744fccd24628c0749.tar.xz yuzu-e84eb64e511cd4699cc2371744fccd24628c0749.tar.zst yuzu-e84eb64e511cd4699cc2371744fccd24628c0749.zip |
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r-- | src/video_core/texture_cache/texture_cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index e251a30c3..e1a1edbd2 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h @@ -252,7 +252,7 @@ public: auto& surface = render_targets[index].target; surface->MarkAsRenderTarget(false, NO_RT); const auto& cr_params = surface->GetSurfaceParams(); - if (!cr_params.is_tiled) { + if (!cr_params.is_tiled && Settings::values.use_asynchronous_gpu_emulation) { AsyncFlushSurface(surface); } } |