mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
gg2: add the rest of the sokol callbacks in gg.new_context
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user