Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ktxTexture2_GetImageOffset: identifier not found #934

Open
UX3D-haertl opened this issue Sep 5, 2024 · 1 comment
Open

ktxTexture2_GetImageOffset: identifier not found #934

UX3D-haertl opened this issue Sep 5, 2024 · 1 comment

Comments

@UX3D-haertl
Copy link

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.

@MarkCallow
Copy link
Collaborator

It is not exposed in ktx.h, and therefore on Windows is not added to dll exports (when building libktx) and imports (when compiling apps.)

I'll happily accept a PR to add it to ktx.h.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants