mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: wrap up unsafe { nil } (p. 3)
This commit is contained in:
@@ -10,7 +10,7 @@ pub struct DrawImageConfig {
|
||||
pub:
|
||||
flip_x bool
|
||||
flip_y bool
|
||||
img &Image = voidptr(0)
|
||||
img &Image = unsafe { nil }
|
||||
img_id int
|
||||
img_rect Rect // defines the size and position on image when rendering to the screen
|
||||
part_rect Rect // defines the size and position of part of the image to use when rendering
|
||||
|
||||
Reference in New Issue
Block a user