hide other windows when not paused
This commit is contained in:
@@ -16,7 +16,6 @@ import (
|
||||
"edgaru089.ml/go/gl01/internal/world/worldgen"
|
||||
"github.com/go-gl/glfw/v3.3/glfw"
|
||||
"github.com/go-gl/mathgl/mgl64"
|
||||
"github.com/inkyblackness/imgui-go/v4"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -307,7 +306,6 @@ func (g *Game) Update(win *glfw.Window, delta time.Duration) {
|
||||
|
||||
io.Diagnostics.Times.Logic = clock.Restart()
|
||||
|
||||
imgui.ShowDemoWindow(nil)
|
||||
g.imgui()
|
||||
io.Diagnostics.Times.GUI = clock.Restart()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user