aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/nvflinger/buffer_queue.cpp
diff options
context:
space:
mode:
authorFeng Chen <vonchenplus@gmail.com>2021-12-28 18:39:11 +0800
committerFeng Chen <vonchenplus@gmail.com>2021-12-28 18:51:03 +0800
commit669cb216870f45d9672d1475c386c42f5f2805b3 (patch)
tree59bd7d134c5680b5ce7ea9df415e52e90eab6aa7 /src/core/hle/service/nvflinger/buffer_queue.cpp
parentae33a767538f31f8cc92834c3bef64fa3e908c29 (diff)
Implement few type in bufferqueue query method
Diffstat (limited to 'src/core/hle/service/nvflinger/buffer_queue.cpp')
-rw-r--r--src/core/hle/service/nvflinger/buffer_queue.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/service/nvflinger/buffer_queue.cpp b/src/core/hle/service/nvflinger/buffer_queue.cpp
index b4c3a6099f..5fead6d1b9 100644
--- a/src/core/hle/service/nvflinger/buffer_queue.cpp
+++ b/src/core/hle/service/nvflinger/buffer_queue.cpp
@@ -186,6 +186,10 @@ u32 BufferQueue::Query(QueryType type) {
case QueryType::NativeWindowWidth:
case QueryType::NativeWindowHeight:
break;
+ case QueryType::NativeWindowMinUndequeuedBuffers:
+ return 0;
+ case QueryType::NativeWindowConsumerUsageBits:
+ return 0;
}
UNIMPLEMENTED_MSG("Unimplemented query type={}", type);
return 0;