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

remove os/time references from live programs, fix warnings

This commit is contained in:
Delyan Angelov
2019-12-09 17:53:17 +02:00
committed by Alexander Medvednikov
parent 8082a5e7f4
commit 32b0225079
6 changed files with 52 additions and 34 deletions

View File

@@ -277,7 +277,7 @@ fn todo_remove_me(cfg Cfg, scale int) {
}
width := cfg.width * scale
height := cfg.height * scale
font_size := cfg.font_size * scale
//font_size := cfg.font_size * scale
gl.enable(C.GL_BLEND)
//# glBlendFunc(C.GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
shader := gl.new_shader('text')