defer
This commit is contained in:
parent
318104a169
commit
7ba3cf109f
1 changed files with 1 additions and 2 deletions
|
@ -29,8 +29,7 @@ fn onGui() void {
|
||||||
defer pm_gui.end();
|
defer pm_gui.end();
|
||||||
|
|
||||||
ui.beginFrame();
|
ui.beginFrame();
|
||||||
|
defer ui.endFrame();
|
||||||
|
|
||||||
editor.update();
|
editor.update();
|
||||||
|
|
||||||
ui.endFrame();
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue