1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

examples: tetris: draw score

This commit is contained in:
Nicolas Sauzede
2019-08-09 07:28:37 +02:00
committed by Alexander Medvednikov
parent 796b9dab74
commit efa540e883
2 changed files with 52 additions and 20 deletions

View File

@ -160,7 +160,7 @@ pub fn new_context(cfg gg.Cfg, scale int) *Context {
}
if !os.file_exists(font_path) {
println('failed to load RobotoMono-Regular.ttf')
exit(1)
return 0
}
# FT_Face face;
# if (FT_New_Face(ft, font_path.str, 0, &face))