From e1eaf07f2e4c49cc2871c43b96e4953ad83e804c Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 6 Sep 2019 22:24:56 +0100 Subject: [PATCH] Display longs as hex if xlong is used --- qrenderdoc/Code/FormatElement.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qrenderdoc/Code/FormatElement.cpp b/qrenderdoc/Code/FormatElement.cpp index fae70325d..e18854b5c 100644 --- a/qrenderdoc/Code/FormatElement.cpp +++ b/qrenderdoc/Code/FormatElement.cpp @@ -461,7 +461,8 @@ QList FormatElement::ParseFormatString(const QString &formatStrin } } - if(basetype == lit("xint") || basetype == lit("xshort") || basetype == lit("xbyte")) + if(basetype == lit("xlong") || basetype == lit("xint") || basetype == lit("xshort") || + basetype == lit("xbyte")) hex = true; if(fmt.compType == CompType::Typeless)