mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
pref,os,sokol,cgen: ease compilation of 2048 with -os wasm32_emscripten
(#15820)
This commit is contained in:
@@ -909,6 +909,10 @@ fn (mut app App) showfps() {
|
||||
}
|
||||
}
|
||||
|
||||
$if emscripten ? {
|
||||
#flag --embed-file ./examples/assets/fonts/RobotoMono-Regular.ttf@/assets/fonts/RobotoMono-Regular.ttf
|
||||
}
|
||||
|
||||
fn main() {
|
||||
mut app := &App{}
|
||||
app.new_game()
|
||||
|
Reference in New Issue
Block a user