raylib gui template ignore this for now

This commit is contained in:
LinlyBoi
2023-04-29 19:33:49 +03:00
parent 83ea2bb22c
commit 55329690d1

View File

@@ -1,3 +1,11 @@
use raylib::prelude::*;
fn main() { fn main() {
println!("Hello, world!"); let (mut rl, thread) = raylib::init().size(640, 480).title("Hello, World").build();
while !rl.window_should_close() {
let mut d = rl.begin_drawing(&thread);
d.clear_background(Color::WHITE);
d.draw_text("Hello, world!", 12, 12, 20, Color::BLACK);
}
} }