From eec6efc69204c4fa440affea99ca921a9b0d07ef Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 11 Oct 2018 12:02:29 +0100 Subject: [PATCH] Add default case to switch statement --- qrenderdoc/Windows/PipelineState/PipelineStateViewer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/qrenderdoc/Windows/PipelineState/PipelineStateViewer.cpp b/qrenderdoc/Windows/PipelineState/PipelineStateViewer.cpp index ef8a93816..237881e00 100644 --- a/qrenderdoc/Windows/PipelineState/PipelineStateViewer.cpp +++ b/qrenderdoc/Windows/PipelineState/PipelineStateViewer.cpp @@ -918,6 +918,7 @@ static uint32_t byteSize(const ResourceFormat &fmt) { switch(fmt.type) { + default: case ResourceFormatType::R9G9B9E5: case ResourceFormatType::R5G6B5: case ResourceFormatType::R5G5B5A1: