mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vlib: use malloc_noscan() where possible (#10465)
This commit is contained in:
@@ -145,7 +145,7 @@ fn main() {
|
||||
app.ttf_render << &ttf.TTF_render_Sokol{
|
||||
bmp: &ttf.BitMap{
|
||||
tf: &(app.tf[0])
|
||||
buf: unsafe { malloc(32000000) }
|
||||
buf: unsafe { malloc_noscan(32000000) }
|
||||
buf_size: (32000000)
|
||||
color: 0xFF0000FF
|
||||
// style: .raw
|
||||
|
||||
Reference in New Issue
Block a user