Commit 6cfb04b
NativeEngine: cache numMips in cube-container loops, matching sibling upload loops
Use the same or (uint8_t mip = 0, numMips = image->m_numMips; ...) idiom as LoadTextureFromImage / LoadCubeTextureFromImages instead of a standalone cached local, for consistency.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 802dd1e commit 6cfb04b
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | | - | |
636 | 635 | | |
637 | 636 | | |
638 | | - | |
| 637 | + | |
639 | 638 | | |
640 | 639 | | |
641 | 640 | | |
| |||
651 | 650 | | |
652 | 651 | | |
653 | 652 | | |
654 | | - | |
| 653 | + | |
655 | 654 | | |
656 | 655 | | |
657 | 656 | | |
658 | 657 | | |
659 | 658 | | |
660 | | - | |
| 659 | + | |
661 | 660 | | |
662 | 661 | | |
663 | 662 | | |
| |||
0 commit comments