KTX-Software
KTX-Software copied to clipboard
ktxTexture2_GetImageOffset: identifier not found
I'm getting this build error, while trying to use ktxTexture2_GetImageOffset (even though my IDE can find the function in the source code).
I'm now using
ktxTexture_GetImageOffset(ktxTexture(texture), 0, 0, 0, &offset);
instead.
Other texture2 functions such as ktxTexture2_Destroy
can be used without problems.