mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-05 11:44:53 +01:00
Initialize overlay after full initialization of UI.
This commit is contained in:
parent
05f3fa09b3
commit
7b53134512
4 changed files with 7 additions and 4 deletions
|
|
@ -96,9 +96,10 @@ void DX10_Hook::prepareForOverlay(IDXGISwapChain* pSwapChain)
|
|||
pDevice->CreateRenderTargetView(pBackBuffer, NULL, &mainRenderTargetView);
|
||||
pBackBuffer->Release();
|
||||
|
||||
Hook_Manager::Inst().ChangeGameWindow(desc.OutputWindow);
|
||||
ImGui_ImplWin32_Init(desc.OutputWindow);
|
||||
ImGui_ImplDX10_Init(pDevice);
|
||||
Hook_Manager::Inst().ChangeGameWindow(desc.OutputWindow);
|
||||
|
||||
initialized = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue