From 5eb80370fd93f3ed5f503dc596f5369d30a46c77 Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 18 May 2020 10:57:33 +0100 Subject: [PATCH] Change formatted for RGBA4 to xshort instead of xbyte2 --- qrenderdoc/Code/BufferFormatter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrenderdoc/Code/BufferFormatter.cpp b/qrenderdoc/Code/BufferFormatter.cpp index 5be130596..58353cb3c 100644 --- a/qrenderdoc/Code/BufferFormatter.cpp +++ b/qrenderdoc/Code/BufferFormatter.cpp @@ -571,7 +571,7 @@ QString BufferFormatter::GetTextureFormatString(const TextureDescription &tex) case ResourceFormatType::R5G6B5: case ResourceFormatType::R5G5B5A1: baseType = lit("xshort"); break; case ResourceFormatType::R9G9B9E5: baseType = lit("xint"); break; - case ResourceFormatType::R4G4B4A4: baseType = lit("xbyte2"); break; + case ResourceFormatType::R4G4B4A4: baseType = lit("xshort"); break; case ResourceFormatType::R4G4: baseType = lit("xbyte"); break; case ResourceFormatType::D16S8: case ResourceFormatType::D24S8: