mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
examples: fix segmentation fault crash on exit in sokol 0X_ examples (#13299)
This commit is contained in:
@ -372,10 +372,6 @@ fn my_init(mut app App) {
|
||||
app.init_flag = true
|
||||
}
|
||||
|
||||
fn cleanup(mut app App) {
|
||||
gfx.shutdown()
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* events handling
|
||||
******************************************************************************/
|
||||
@ -412,7 +408,6 @@ fn main() {
|
||||
bg_color: bg_color
|
||||
frame_fn: frame
|
||||
init_fn: my_init
|
||||
cleanup_fn: cleanup
|
||||
event_fn: my_event_manager
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user