summaryrefslogtreecommitdiff
path: root/src/core/hle
diff options
context:
space:
mode:
authorGravatar Rodrigo Locatti2021-01-09 03:13:25 -0300
committerGravatar GitHub2021-01-09 03:13:25 -0300
commit7bad1974a6bc2fba9f47824d4da23e888f6ff4a7 (patch)
tree77b7fe5542e1d5cc2d92ad3ea7410c6b95eca449 /src/core/hle
parentMerge pull request #5231 from ReinUsesLisp/dyn-bindings (diff)
parentcmake: Enforce C4062, C4265, C4388, and C5038 (diff)
downloadyuzu-7bad1974a6bc2fba9f47824d4da23e888f6ff4a7.tar.gz
yuzu-7bad1974a6bc2fba9f47824d4da23e888f6ff4a7.tar.xz
yuzu-7bad1974a6bc2fba9f47824d4da23e888f6ff4a7.zip
Merge pull request #5319 from ReinUsesLisp/msvc-warnings
cmake: Enforce C4062, C4265, C4388, and C5038
Diffstat (limited to 'src/core/hle')
-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) {
180 switch (type) { 180 switch (type) {
181 case QueryType::NativeWindowFormat: 181 case QueryType::NativeWindowFormat:
182 return static_cast<u32>(PixelFormat::RGBA8888); 182 return static_cast<u32>(PixelFormat::RGBA8888);
183 case QueryType::NativeWindowWidth:
184 case QueryType::NativeWindowHeight:
185 break;
183 } 186 }
184 187 UNIMPLEMENTED_MSG("Unimplemented query type={}", type);
185 UNIMPLEMENTED();
186 return 0; 188 return 0;
187} 189}
188 190