summaryrefslogtreecommitdiff
path: root/src/renderer/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/render.c')
-rw-r--r--src/renderer/render.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/renderer/render.c b/src/renderer/render.c
index 799cba7..f73578e 100644
--- a/src/renderer/render.c
+++ b/src/renderer/render.c
@@ -61,7 +61,9 @@ bool renderer_init(renderer* ren) {
return true;
}
void renderer_shutdown(renderer* ren) {
- // gpu_device_destroy(ren->device);
+ gpu_swapchain_destroy(&ren->swapchain);
+ gpu_pipeline_destroy(&ren->static_opaque_pipeline);
+ gpu_backend_shutdown();
}
void default_pipelines_init(renderer* ren) {
@@ -77,4 +79,4 @@ void render_frame_draw(renderer* ren) {}
void gfx_backend_draw_frame(renderer* ren, camera* camera, mat4 model, texture* tex) {}
-void geo_set_vertex_colours(geometry_data* geo, vec4 colour) {} \ No newline at end of file
+void geo_set_vertex_colours(geometry_data* geo, vec4 colour) {}