summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 7c3cc9f..edf5151 100644
--- a/src/main.c
+++ b/src/main.c
@@ -24,9 +24,12 @@ int main(void) {
goto out_main_loop;
}
}
+
+ vgltf_renderer_triangle_pass(&renderer);
+ renderer.current_frame =
+ (renderer.current_frame + 1) % VGLTF_RENDERER_MAX_FRAME_IN_FLIGHT_COUNT;
}
out_main_loop:
-
vgltf_renderer_deinit(&renderer);
vgltf_platform_deinit(&platform);
return 0;
Go back to lisible.xyz