1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

all: voidptr(0) => unsafe { nil } (p.2)

This commit is contained in:
Alexander Medvednikov
2022-07-21 20:51:54 +03:00
parent 1f25811786
commit dc79f1392b
8 changed files with 32 additions and 32 deletions

View File

@ -112,7 +112,7 @@ mut:
// Index of the rotation (0-3)
rotation_idx int
// gg context for drawing
gg &gg.Context = voidptr(0)
gg &gg.Context = unsafe { nil }
font_loaded bool
show_ghost bool = true
// frame/time counters:

View File

@ -113,7 +113,7 @@ mut:
// Index of the rotation (0-3)
rotation_idx int
// gg context for drawing
gg &gg.Context = voidptr(0)
gg &gg.Context = unsafe { nil }
font_loaded bool
show_ghost bool = true
// frame/time counters: