From 9e120a48438c793e8f23fab000189d4af1068eee Mon Sep 17 00:00:00 2001 From: omnisci3nce <17525998+omnisci3nce@users.noreply.github.com> Date: Mon, 25 Mar 2024 23:29:18 +1100 Subject: clearing the screen with a clear color! --- examples/main_loop/ex_main_loop.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'examples') diff --git a/examples/main_loop/ex_main_loop.c b/examples/main_loop/ex_main_loop.c index 3b2354a..728290f 100644 --- a/examples/main_loop/ex_main_loop.c +++ b/examples/main_loop/ex_main_loop.c @@ -2,6 +2,7 @@ #include "core.h" #include "render.h" +#include "render_backend.h" int main() { core* core = core_bringup(); @@ -13,6 +14,8 @@ int main() { render_frame_begin(&core->renderer); + gfx_backend_draw_frame(&core->renderer); + // insert work here render_frame_end(&core->renderer); -- cgit v1.2.3-70-g09d2