mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
gg: print a diagnostic message when a requested font file is not found
This commit is contained in:
parent
1914bc790b
commit
0efdc7bbe8
@ -126,6 +126,10 @@ fn gg_init_sokol_window(user_data voidptr) {
|
|||||||
}
|
}
|
||||||
// println('FT took ${time.ticks()-t} ms')
|
// println('FT took ${time.ticks()-t} ms')
|
||||||
g.font_inited = true
|
g.font_inited = true
|
||||||
|
} else {
|
||||||
|
if !exists {
|
||||||
|
eprintln('font file $g.config.font_path does not exist')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
mut pipdesc := C.sg_pipeline_desc{}
|
mut pipdesc := C.sg_pipeline_desc{}
|
||||||
|
Loading…
Reference in New Issue
Block a user