commit ba23b8e
uint
·
2026-07-29 23:22:56 +0000 UTC
parent a2e1d3f
fix: remove double destruction of image and sampler
1 files changed,
+1,
-3
+1,
-3
1@@ -267,11 +267,9 @@ void renderer_destroy(void)
2 sg_destroy_pipeline(ren.pipeline);
3 sg_destroy_shader(ren.shader);
4
5- sg_destroy_image(ren.texture);
6- sg_destroy_sampler(ren.sampler);
7-
8 if (sg_isvalid())
9 sg_shutdown();
10+
11 ren.ctx = NULL;
12 ren.pass = 0;
13 }