Replaced gli with libktx for cubemap texture loading sample
This commit is contained in:
parent
7e2bd36dfa
commit
40a16ac48a
2 changed files with 32 additions and 20 deletions
|
|
@ -219,7 +219,7 @@ public:
|
|||
uint32_t offset = 0;
|
||||
|
||||
for (uint32_t i = 0; i < texture.mipLevels; i++) {
|
||||
// Calculate offset into staging buffer for the current mip lavel
|
||||
// Calculate offset into staging buffer for the current mip level
|
||||
ktx_size_t offset;
|
||||
assert(ktxTexture_GetImageOffset(ktxTexture, i, 0, 0, &offset) == KTX_SUCCESS);
|
||||
// Setup a buffer image copy structure for the current mip level
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue