mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-03 14:11:11 +00:00
parent
7bdda990e1
commit
fa0e8cb993
1 changed files with 7 additions and 0 deletions
|
@ -3419,6 +3419,13 @@ bool FurnaceGUI::loop() {
|
|||
ImGui_ImplSDL2_NewFrame(sdlWin);
|
||||
ImGui::NewFrame();
|
||||
|
||||
ImGuiViewport* vp=ImGui::GetMainViewport();
|
||||
if (vp==NULL) {
|
||||
logE("NULL MAN");
|
||||
} else {
|
||||
logV("viewport size: %dx%d",vp->Size.x,vp->Size.y);
|
||||
}
|
||||
|
||||
curWindowLast=curWindow;
|
||||
curWindow=GUI_WINDOW_NOTHING;
|
||||
editOptsVisible=false;
|
||||
|
|
Loading…
Reference in a new issue