Open
Description
Running a simple project which only clears the screen the program seems to be consuming 100% of one CPU core at all times.
Both get_fps()
and FRAPS show a stable 60 fps, which would indicate that vsync or some other frame limiting is enabled.
The program is compiled with cargo run --release
.
Macroquad version is 0.3.7.
The system is a laptop with integrated graphics (Intel UHD 620) running Windows 10.
It seems that for some reason the program uses a thread 100% of the time for just waiting to draw the next frame.
The tested code is:
use macroquad::prelude::*;
#[macroquad::main("Test")]
async fn main() {
loop {
clear_background(RED);
next_frame().await
}
}
Metadata
Metadata
Assignees
Labels
No labels