Return view format stride in bytes not in bits

This commit is contained in:
baldurk
2019-09-18 17:04:23 +01:00
parent 8cacf6927d
commit 2d8b048a97
+1 -1
View File
@@ -68,7 +68,7 @@ public:
return stride;
if(byteWidth == 10 || byteWidth == 11)
return 32; // 10 10 10 2 or 11 11 10
return 4; // 10 10 10 2 or 11 11 10
return byteWidth * numComps;
}