mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 12:14:54 +01:00
Use shared font atlas and fix crash when opening overlay in some games.
This commit is contained in:
parent
de6805dd8b
commit
c9a102ee30
9 changed files with 25 additions and 20 deletions
|
|
@ -133,7 +133,7 @@ void DX9_Hook::_PrepareForOverlay(IDirect3DDevice9 *pDevice, HWND destWindow)
|
|||
pDevice->AddRef();
|
||||
_pDevice = pDevice;
|
||||
|
||||
ImGui::CreateContext();
|
||||
ImGui::CreateContext((ImFontAtlas *)ImGuiFontAtlas);
|
||||
ImGui_ImplDX9_Init(pDevice);
|
||||
|
||||
_LastWindow = destWindow;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue