mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
examples: fix unsafe 0
This commit is contained in:
@ -6,8 +6,8 @@ import rand
|
||||
|
||||
struct App {
|
||||
mut:
|
||||
gg &gg.Context = 0
|
||||
ui &objects.UIParams = 0
|
||||
gg &gg.Context = unsafe { 0 }
|
||||
ui &objects.UIParams = unsafe { 0 }
|
||||
rockets []objects.Rocket
|
||||
frames [][]objects.Rocket
|
||||
// i thought about using a fixed fifo queue for the frames but the array
|
||||
|
Reference in New Issue
Block a user