Skip to content

Commit

Permalink
examples: fix build error in dragdrop example
Browse files Browse the repository at this point in the history
  • Loading branch information
gucio321 committed Feb 17, 2024
1 parent ec30ef3 commit 1bff321
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/dragdrop/dragdrop.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func loop() {
data := 9
imgui.SetDragDropPayload(
"DND_DEMO",
unsafe.Pointer(&data),
uintptr(unsafe.Pointer(&data)),
0,
)
g.Label("9").Build()
Expand All @@ -32,7 +32,7 @@ func loop() {
data := 10
imgui.SetDragDropPayload(
"DND_DEMO",
unsafe.Pointer(&data),
uintptr(unsafe.Pointer(&data)),
0,
)
g.Label("10").Build()
Expand Down

0 comments on commit 1bff321

Please sign in to comment.