core: Silence unhandled enum in switch warnings

This commit is contained in:
ReinUsesLisp 2021-01-08 23:21:07 -03:00
parent 613b3671b7
commit b4451c5e81
2 changed files with 5 additions and 10 deletions

View file

@ -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;
}