mirror of
https://github.com/Xevion/rust-sdl2-emscripten.git
synced 2025-12-14 10:13:00 -06:00
Add HTML title, change window title
This commit is contained in:
@@ -59,7 +59,7 @@ fn main() {
|
||||
let video_ctx = ctx.video().unwrap();
|
||||
|
||||
let window = match video_ctx
|
||||
.window("Hello, Rust / SDL2 / WASM!", 640, 480)
|
||||
.window("rust-sdl2-emscripten", 640, 480)
|
||||
.position_centered()
|
||||
.resizable()
|
||||
.allow_highdpi()
|
||||
|
||||
Reference in New Issue
Block a user