mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-09-29 12:36:33 -05:00
Separate imgui contexts for TV and Pad windows. (#664)
This commit is contained in:
@@ -50,14 +50,6 @@ extern char const g_fontawesome_data[];
|
||||
std::unordered_map<int, ImFont*> g_imgui_fonts;
|
||||
std::stack<int> g_font_requests;
|
||||
|
||||
bool ImGui_BeginPadDistinct(const char* name, bool* p_open, ImGuiWindowFlags flags, bool pad)
|
||||
{
|
||||
std::string distinctName = name;
|
||||
if (pad)
|
||||
distinctName += "##pad";
|
||||
return ImGui::Begin(distinctName.c_str(), p_open, flags);
|
||||
}
|
||||
|
||||
void ImGui_PrecacheFonts()
|
||||
{
|
||||
while (!g_font_requests.empty())
|
||||
|
||||
Reference in New Issue
Block a user