Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
minimaze
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin8105 committed Apr 20, 2022
1 parent 72692f1 commit 5c36865
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion internal/demo/Window.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func showUserGuide() {
type widgets struct {
buttonClicked int
check bool
radio int
radio int32
}

// nolint: nestif
Expand Down
1 change: 0 additions & 1 deletion internal/platforms/glfw.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ func (platform *GLFW) NewFrame() {
// PostRender performs a buffer swap.
func (platform *GLFW) PostRender() {
platform.window.SwapBuffers()
imgui.UpdatePointers()
}

func (platform *GLFW) setKeyMapping() {
Expand Down
1 change: 0 additions & 1 deletion internal/platforms/sdl.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ func (platform *SDL) NewFrame() {
// PostRender performs a buffer swap.
func (platform *SDL) PostRender() {
platform.window.GLSwap()
imgui.UpdatePointers()
}

func (platform *SDL) setKeyMapping() {
Expand Down

0 comments on commit 5c36865

Please sign in to comment.