Place stars in Jabys eyes

This commit is contained in:
2024-04-21 17:06:15 +02:00
parent 6d2e1a7f8b
commit b4099a7f97
3 changed files with 31 additions and 7 deletions

View File

@@ -71,6 +71,10 @@ namespace JabyEngine {
internal::render(reinterpret_cast<const uint32_t*>(&primitives), (sizeof(T)/sizeof(uint32_t))*N);
}
static void wait_for_render() {
while(!GPU_IO::GPUSTAT.read().is_set(GPU_IO::GPUSTAT::GP0ReadyForCMD));
}
uint8_t swap_buffers_vsync(uint8_t syncs, bool clear_screen = true);
}
}