We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9209f88 commit c374b33Copy full SHA for c374b33
source/blender/gpu/intern/gpu_shader.c
@@ -899,6 +899,11 @@ void GPU_shader_free_builtin_shaders(void)
899
GG.shaders.smoke_coba = NULL;
900
}
901
902
+ if (GG.shaders.instancing) {
903
+ GPU_shader_free(GG.shaders.instancing);
904
+ GG.shaders.instancing = NULL;
905
+ }
906
+
907
if (GG.shaders.draw_frame_buffer) {
908
GPU_shader_free(GG.shaders.draw_frame_buffer);
909
GG.shaders.draw_frame_buffer = NULL;
0 commit comments