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 Terra datablock destroys its sampler blocks twice #159

Merged
merged 1 commit into from Dec 4, 2020

Conversation

TaaTT4
Copy link
Contributor

@TaaTT4 TaaTT4 commented Dec 4, 2020

Sampler blocks destruction is already made in OGRE_HLMS_TEXTURE_BASE_CLASS::~OGRE_HLMS_TEXTURE_BASE_CLASS. HlmsTerraDatablock do it again in its dtor corrupting the blocks ref count.

@darksylinc darksylinc merged commit 61e2f35 into OGRECave:master Dec 4, 2020
@TaaTT4 TaaTT4 deleted the bugfix/hlms_terra_datablock branch December 7, 2020 09:21
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.

None yet

2 participants