mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 14:47:19 +02:00
Adding a comment for debug sake
This commit is contained in:
parent
5bc8e09865
commit
d734358290
1 changed files with 2 additions and 0 deletions
|
@ -441,6 +441,7 @@ void Texture::assignStoredMip(uint16 level, storage::StoragePointer& storage) {
|
|||
// THen check that the mem texture passed make sense with its format
|
||||
Size expectedSize = evalStoredMipSize(level, getStoredMipFormat());
|
||||
auto size = storage->size();
|
||||
// NOTE: doing the same thing in all the next block but beeing able to breakpoint with more accuracy
|
||||
if (storage->size() < expectedSize) {
|
||||
_storage->assignMipData(level, storage);
|
||||
_stamp++;
|
||||
|
@ -471,6 +472,7 @@ void Texture::assignStoredMipFace(uint16 level, uint8 face, storage::StoragePoin
|
|||
// THen check that the mem texture passed make sense with its format
|
||||
Size expectedSize = evalStoredMipFaceSize(level, getStoredMipFormat());
|
||||
auto size = storage->size();
|
||||
// NOTE: doing the same thing in all the next block but beeing able to breakpoint with more accuracy
|
||||
if (size < expectedSize) {
|
||||
_storage->assignMipFaceData(level, face, storage);
|
||||
_stamp++;
|
||||
|
|
Loading…
Reference in a new issue