summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/main_loop/ex_main_loop.c3
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);