mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
examples: use vmemset instead of C.memset (#13104)
This commit is contained in:
parent
e2a0046849
commit
b44b8c472d
8 changed files with 26 additions and 26 deletions
|
@ -316,7 +316,7 @@ fn app_init(mut app App) {
|
|||
|
||||
// 3d pipeline
|
||||
mut pipdesc := gfx.PipelineDesc{}
|
||||
unsafe { C.memset(&pipdesc, 0, sizeof(pipdesc)) }
|
||||
unsafe { vmemset(&pipdesc, 0, int(sizeof(pipdesc))) }
|
||||
|
||||
color_state := gfx.ColorState{
|
||||
blend: gfx.BlendState{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue