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

ci: fix [if xyz ?] usages

This commit is contained in:
Delyan Angelov
2021-06-22 10:46:43 +03:00
parent a3f876d683
commit dd6591b2f5
4 changed files with 4 additions and 4 deletions

View File

@ -127,7 +127,7 @@ fn remap(v f32, min f32, max f32, new_min f32, new_max f32) f32 {
return (((v - min) * (new_max - new_min)) / (max - min)) + new_min
}
[if showfps]
[if showfps ?]
fn (mut game Game) showfps() {
game.frame++
last_frame_ms := f64(game.frame_sw.elapsed().microseconds()) / 1000.0