The following program will continue to use up more memory until it eventually crashes:
use macroquad::prelude::*;
#[macroquad::main("Texture test")]
async fn main() {
let texture_size: u32= 64 * 16;
loop {
let render_target = render_target(texture_size, texture_size);
next_frame().await;
}
}
Am I doing something wrong here, or is there a bug in Macroquad causing a memory leak that I should report?