mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-09-08 15:26:33 -05:00
core: Silence unhandled enum in switch warnings
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user