Place stars in Jabys eyes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user