summaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r--src/video_core/texture_cache/texture_cache.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h
index e1a1edbd2..f3ca1ffd1 100644
--- a/src/video_core/texture_cache/texture_cache.h
+++ b/src/video_core/texture_cache/texture_cache.h
@@ -337,6 +337,13 @@ public:
337 uncommited_flushes.reset(); 337 uncommited_flushes.reset();
338 } 338 }
339 339
340 bool HasUncommitedFlushes() {
341 if (uncommited_flushes) {
342 return true;
343 }
344 return false;
345 }
346
340 bool ShouldWaitAsyncFlushes() { 347 bool ShouldWaitAsyncFlushes() {
341 if (commited_flushes.empty()) { 348 if (commited_flushes.empty()) {
342 return false; 349 return false;