1use macroquad::prelude::*;
2
3#[macroquad::main("Texture")]
4async fn main() {
5 let texture: Texture2D = load_texture("examples/ferris.png").await.unwrap();
6
7 loop {
8 clear_background(LIGHTGRAY);
9 draw_texture(&texture, 0., 0., WHITE);
10 next_frame().await
11 }
12}