gg: print a diagnostic message when a requested font file is not found
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