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

docs: clarify pointer lifetimes for ktxTexture_SetImageFromMemory #917

Merged
merged 1 commit into from
Jun 18, 2024
Merged

docs: clarify pointer lifetimes for ktxTexture_SetImageFromMemory #917

merged 1 commit into from
Jun 18, 2024

Commits on Jun 18, 2024

  1. docs: clarify pointer lifetimes for ktxTexture_SetImageFromMemory

    ktxTexture1_SetImageFromMemory and ktxTexture2_SetImageFromMemory accept
    a pointer to image memory but do not clearly document if ownership of
    those pointers is transferred or copied. This commit adds a doxygen
    warning informing users that the underlying image data is copied and
    therefore they are responsible for their copy of the image memory.
    
    Closes #914
    matthew-rister committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    fff98cc View commit details
    Browse the repository at this point in the history