Make sure DSVs show up with their view parameters properly.

This commit is contained in:
baldurk
2016-09-28 15:51:54 +02:00
parent 4ccfe298f3
commit bfcfcd37b5
3 changed files with 21 additions and 4 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ struct ResourceFormat
bool operator==(const ResourceFormat &r) const
{
if(special || r.special)
return special == r.special && specialFormat == r.specialFormat;
return special == r.special && specialFormat == r.specialFormat && compType == r.compType;
return compCount == r.compCount && compByteWidth == r.compByteWidth && compType == r.compType &&
bgraOrder == r.bgraOrder && srgbCorrected == r.srgbCorrected;