mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
gg2: add the rest of the sokol callbacks in gg.new_context
This commit is contained in:
parent
576e80b3a9
commit
0b7fe0a9d0
2 changed files with 29 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue