mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 05:51:19 +12:00
Separate imgui contexts for TV and Pad windows. (#664)
This commit is contained in:
parent
daf3ef060a
commit
cbb79fd34c
8 changed files with 131 additions and 184 deletions
|
@ -119,17 +119,9 @@ int Latte_ThreadEntry()
|
|||
sint32 w,h;
|
||||
gui_getWindowPhysSize(w,h);
|
||||
|
||||
// imgui
|
||||
ImGui::CreateContext();
|
||||
ImGuiIO& io = ImGui::GetIO();
|
||||
io.WantSaveIniSettings = false;
|
||||
io.IniFilename = nullptr;
|
||||
io.Fonts->AddFontDefault();
|
||||
|
||||
// renderer
|
||||
g_renderer->Initialize();
|
||||
RendererOutputShader::InitializeStatic();
|
||||
io.DisplaySize = ImVec2((float)w, (float)h);
|
||||
|
||||
LatteTiming_Init();
|
||||
LatteTexture_init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue