diff options
author | omnisci3nce <17525998+omnisci3nce@users.noreply.github.com> | 2024-03-25 23:29:18 +1100 |
---|---|---|
committer | omnisci3nce <17525998+omnisci3nce@users.noreply.github.com> | 2024-03-25 23:29:18 +1100 |
commit | 9e120a48438c793e8f23fab000189d4af1068eee (patch) | |
tree | 72d800f375f8a41dd2359f470cea33b3296faef6 /examples/main_loop | |
parent | 8752fe1132f0fb19a7ac90dd257417a088e32100 (diff) |
clearing the screen with a clear color!
Diffstat (limited to 'examples/main_loop')
-rw-r--r-- | examples/main_loop/ex_main_loop.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |