mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
warning -1
This commit is contained in:
parent
9d6cf5b7f8
commit
91d439442d
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