mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vfmt: voidptr(0) => unsafe { nil } (p.1)
This commit is contained in:
@ -28,7 +28,7 @@ fn main() {
|
||||
pass_action.colors[0] = color_action
|
||||
state := &AppState{
|
||||
pass_action: pass_action
|
||||
font_context: voidptr(0) // &fontstash.Context(0)
|
||||
font_context: unsafe { nil } // &fontstash.Context(0)
|
||||
}
|
||||
title := 'V Metal/GL Text Rendering'
|
||||
desc := sapp.Desc{
|
||||
|
@ -76,7 +76,7 @@ fn main() {
|
||||
pass_action.colors[0] = color_action
|
||||
state := &AppState{
|
||||
pass_action: pass_action
|
||||
fons: voidptr(0) // &fontstash.Context(0)
|
||||
fons: unsafe { nil } // &fontstash.Context(0)
|
||||
}
|
||||
title := 'V Metal/GL Text Rendering'
|
||||
desc := sapp.Desc{
|
||||
|
Reference in New Issue
Block a user