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: Crash on exit when using custom font from file #1815

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

csnover
Copy link
Contributor

@csnover csnover commented Jul 15, 2024

Problem description

#1814

Implementation description

  1. Remove the flag that wrongly tells ImFontAtlas that it owns font data, and remove that parameter from the function signature entirely since now it is always false.
  2. Rename takeAtlas to getAtlas since it no longer transfers ownership as of b652565.

@WerWolv WerWolv enabled auto-merge (squash) July 15, 2024 20:04
@WerWolv
Copy link
Owner

WerWolv commented Jul 15, 2024

Thanks a lot!

@WerWolv WerWolv disabled auto-merge July 15, 2024 20:21
@WerWolv WerWolv merged commit fb24976 into WerWolv:master Jul 15, 2024
9 of 17 checks passed
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