mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 21:43:03 +02:00
warning -1
This commit is contained in:
parent
c4e8885842
commit
b38be7e561
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ namespace ktx {
|
||||||
size_t imageSize = *reinterpret_cast<const uint32_t*>(currentPtr);
|
size_t imageSize = *reinterpret_cast<const uint32_t*>(currentPtr);
|
||||||
currentPtr += sizeof(uint32_t);
|
currentPtr += sizeof(uint32_t);
|
||||||
|
|
||||||
auto expectedImageSize = header.evalImageSize(images.size());
|
auto expectedImageSize = header.evalImageSize((uint32_t) images.size());
|
||||||
if (imageSize != expectedImageSize) {
|
if (imageSize != expectedImageSize) {
|
||||||
break;
|
break;
|
||||||
} else if (!Header::checkAlignment(imageSize)) {
|
} else if (!Header::checkAlignment(imageSize)) {
|
||||||
|
|
Loading…
Reference in a new issue