From b2f760a1c649184745e3a4c596ad20bd952ba4a3 Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 19 Jun 2017 13:45:43 +0100 Subject: [PATCH] Fix detection of "matN" in buffer format specifier --- qrenderdoc/Code/FormatElement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrenderdoc/Code/FormatElement.cpp b/qrenderdoc/Code/FormatElement.cpp index 262ada740..4895cfd9c 100644 --- a/qrenderdoc/Code/FormatElement.cpp +++ b/qrenderdoc/Code/FormatElement.cpp @@ -228,7 +228,7 @@ QList FormatElement::ParseFormatString(const QString &formatStrin uint32_t width = 0; // check for square matrix declarations like 'mat4' and 'mat3' - if(basetype == lit("mat") && !match.captured(5).isEmpty()) + if(basetype == lit("mat") && match.captured(5).isEmpty()) matrixDim = vectorDim; // calculate format