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

Clear font texture view to ensure Release() doesn't get called twice #290

Merged
merged 1 commit into from
Aug 4, 2015

Conversation

cmaughan
Copy link
Contributor

@cmaughan cmaughan commented Aug 4, 2015

Since InvalidateDeviceObjects also gets called at shutdown, it's possible that this call will get made twice. Failure to set the global back to null means that on the second call, Release() is made on a previously released object.

ocornut added a commit that referenced this pull request Aug 4, 2015
Examples: DirectX11: Clear font texture view pointer to ensure Release() doesn't get called twice
@ocornut ocornut merged commit a526b42 into ocornut:master Aug 4, 2015
@ocornut
Copy link
Owner

ocornut commented Aug 4, 2015

Thanks!

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.

2 participants