summaryrefslogtreecommitdiff
path: root/src/video_core/buffer_cache
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/buffer_cache')
-rw-r--r--src/video_core/buffer_cache/buffer_cache.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/buffer_cache/buffer_cache.h b/src/video_core/buffer_cache/buffer_cache.h
index 06fb931d7..54c75ca4e 100644
--- a/src/video_core/buffer_cache/buffer_cache.h
+++ b/src/video_core/buffer_cache/buffer_cache.h
@@ -229,6 +229,13 @@ public:
229 return true; 229 return true;
230 } 230 }
231 231
232 bool HasUncommitedFlushes() {
233 if (uncommited_flushes) {
234 return true;
235 }
236 return false;
237 }
238
232 void PopAsyncFlushes() { 239 void PopAsyncFlushes() {
233 if (commited_flushes.empty()) { 240 if (commited_flushes.empty()) {
234 return; 241 return;