We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a324e5e commit 49b1d21Copy full SHA for 49b1d21
examples/gosfml_example_go/main.go
@@ -30,7 +30,7 @@ func main() {
30
/* Process events */
31
for window.SfWindow_pollEvent(w, ev) > 0 {
32
/* Close window: exit */
33
- if ev.GetXtype() == window.SfEventType(window.SfEvtClosed) {
+ if ev.GetEvType() == window.SfEventType(window.SfEvtClosed) {
34
return
35
}
36
0 commit comments