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

Fix compressed to compressed texture conversion leaving leaked memory and threads #335

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

metallicafan212
Copy link

This pull request fixes an issue I noticed when converting one compressed texture format to another. After the conversion was done, my CPU would still be running at 100% with the Compressonator threads eating all my CPU time.

Specifically: the block that deals with compressed -> compressed only frees the buffers/codecs/threads when there's an error, but did not if the conversion was successful.

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

Successfully merging this pull request may close these issues.

1 participant