1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

sokol: type alias all sapp structs (#12962)

This commit is contained in:
Larpon
2021-12-26 12:02:51 +01:00
committed by GitHub
parent 04be2465dc
commit 2210f89ea3
10 changed files with 33 additions and 42 deletions

View File

@ -500,7 +500,7 @@ fn (mut game Game) key_down(key gg.KeyCode) {
}
}
fn (mut game Game) touch_event(touch_point C.sapp_touchpoint) {
fn (mut game Game) touch_event(touch_point gg.TouchPoint) {
ws := gg.window_size()
tx := touch_point.pos_x
ty := touch_point.pos_y