Print a more helpful error when failing to convert component

This commit is contained in:
baldurk
2017-05-16 17:47:08 +01:00
parent c070c3e643
commit 2ebcb9a337
+1 -1
View File
@@ -155,7 +155,7 @@ float ConvertComponent(const ResourceFormat &fmt, byte *data)
}
}
RDCERR("Unexpected format to convert from");
RDCERR("Unexpected format to convert from %u %u", fmt.compByteWidth, fmt.compType);
return 0.0f;
}