aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache/texture_cache.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-02-18 11:26:31 -0400
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-04-22 11:36:12 -0400
commitb2787048d17446949672a566f3bbfcc71781b1df (patch)
tree43a80c0ecc15f781cf5fdba70deaaa46260683ec /src/video_core/texture_cache/texture_cache.h
parente7195b5f8726a4651b2a8b4d97dae8d89a11e7a5 (diff)
Rasterizer: Disable fence managing in synchronous gpu.
Diffstat (limited to 'src/video_core/texture_cache/texture_cache.h')
-rw-r--r--src/video_core/texture_cache/texture_cache.h2
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 e251a30c30..e1a1edbd24 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);
}
}