delay text rendering until end of frame which renders ALL text in one draw call

This commit is contained in:
2023-11-25 01:39:49 +02:00
parent 638c67a99e
commit 10f727cd28
8 changed files with 71 additions and 1974 deletions
+2
View File
@@ -203,6 +203,8 @@ int main(int argc, char *argv[]) {
/* float x = clampf(500.0f * timer_elapsed(&my_time), 0.0, window_size.width - size.width); */
/* draw_text("Bruh", 1.0f, (Vec2){0.0, size.height}, &(Color){255.f, 0.f, 0.f, 255.f}); */
zephr_batch_text_draw();
zephr_swap_buffers();
}
/* while (!quit) { */