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