summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvflinger
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-01-09 03:21:07 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2021-01-09 03:21:07 +0100
commitb4451c5e8142ca0b46a97ba77c98edb305f97929 (patch)
tree7d7f8a4c5ef5c749cb05b9236db11c23594a6f21 /src/core/hle/service/nvflinger
parenttests/ring_buffer: Silence signed/unsigned mismatch warnings (diff)
downloadyuzu-b4451c5e8142ca0b46a97ba77c98edb305f97929.tar
yuzu-b4451c5e8142ca0b46a97ba77c98edb305f97929.tar.gz
yuzu-b4451c5e8142ca0b46a97ba77c98edb305f97929.tar.bz2
yuzu-b4451c5e8142ca0b46a97ba77c98edb305f97929.tar.lz
yuzu-b4451c5e8142ca0b46a97ba77c98edb305f97929.tar.xz
yuzu-b4451c5e8142ca0b46a97ba77c98edb305f97929.tar.zst
yuzu-b4451c5e8142ca0b46a97ba77c98edb305f97929.zip
Diffstat (limited to 'src/core/hle/service/nvflinger')
-rw-r--r--src/core/hle/service/nvflinger/buffer_queue.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/service/nvflinger/buffer_queue.cpp b/src/core/hle/service/nvflinger/buffer_queue.cpp
index c68905e19..5578181a4 100644
--- a/src/core/hle/service/nvflinger/buffer_queue.cpp
+++ b/src/core/hle/service/nvflinger/buffer_queue.cpp
@@ -180,9 +180,11 @@ u32 BufferQueue::Query(QueryType type) {
switch (type) {
case QueryType::NativeWindowFormat:
return static_cast<u32>(PixelFormat::RGBA8888);
+ case QueryType::NativeWindowWidth:
+ case QueryType::NativeWindowHeight:
+ break;
}
-
- UNIMPLEMENTED();
+ UNIMPLEMENTED_MSG("Unimplemented query type={}", type);
return 0;
}