Handle unormten correctly

This commit is contained in:
baldurk
2019-09-18 17:04:10 +01:00
parent 40375a6d6e
commit 8cacf6927d
+1 -1
View File
@@ -441,7 +441,7 @@ QList<FormatElement> FormatElement::ParseFormatString(const QString &formatStrin
}
else if(basetype == lit("unormten"))
{
fmt.compType = CompType::UInt;
fmt.compType = CompType::UNorm;
fmt.compCount = 4 * count;
fmt.compByteWidth = 1;
fmt.type = ResourceFormatType::R10G10B10A2;