fix *Type warning in examples
parent
c6f7479a72
commit
2ae2ede06a
|
@ -10,14 +10,14 @@ import time
|
|||
|
||||
struct Game {
|
||||
mut:
|
||||
gg *gg.GG
|
||||
gg &gg.GG
|
||||
x int
|
||||
y int
|
||||
dy int
|
||||
dx int
|
||||
height int
|
||||
width int
|
||||
main_wnd *glfw.Window
|
||||
main_wnd &glfw.Window
|
||||
draw_fn voidptr
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ const (
|
|||
)
|
||||
|
||||
struct Context {
|
||||
gg *gg.GG
|
||||
gg &gg.GG
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
|
Loading…
Reference in New Issue