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

防止 3D 游戏模式下打开叠加层可能导致的崩溃 #840

Merged
merged 1 commit into from
Mar 3, 2024

Conversation

Blinue
Copy link
Owner

@Blinue Blinue commented Mar 3, 2024

Close #649

3D 游戏模式下打开叠加层时光标由 ImGui 渲染,因此字体纹理中含有光标数据,和非 3D 游戏模式中的字体纹理不兼容,这是导致打开叠加层时崩溃的原因。#643 重写了架构,光标不再交给 ImGui 渲染,因此不存在这个 bug。

这个修复针对 v0.10,只是简单的在 3D 游戏模式下禁用字体缓存。

@Blinue Blinue added the bug Something isn't working label Mar 3, 2024
@Blinue Blinue merged commit 91a366b into dev Mar 3, 2024
2 checks passed
@Blinue Blinue deleted the font-cache-crash branch March 3, 2024 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In-game overlay crashes Magpie (localization bug)
1 participant