1
0
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:
Larpon
2022-01-27 18:46:55 +01:00
committed by GitHub
parent eb765f975c
commit faaa7035c4
6 changed files with 0 additions and 26 deletions

View File

@ -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
)