gg2: add the rest of the sokol callbacks in gg.new_context

This commit is contained in:
Delyan Angelov 2020-06-04 09:48:49 +03:00
parent 576e80b3a9
commit 0b7fe0a9d0
2 changed files with 29 additions and 12 deletions

View file

@ -183,7 +183,7 @@ fn main() {
user_data: game
init_fn: init_gui
frame_fn: frame
event_cb: on_event
event_fn: on_event
)
game.init_game()
go game.run() // Run the game loop in a new thread