Преглед изворни кода

libobs: Make sure to destroy effect

This actually isn't necessary because the graphics subsystem technically
automatically frees effects, but that could change, so call this just to
be safe.
jp9000 пре 6 година
родитељ
комит
2a92555f58
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      libobs/obs.c

+ 1 - 0
libobs/obs.c

@@ -531,6 +531,7 @@ static void obs_free_graphics(void)
 		gs_effect_destroy(video->solid_effect);
 		gs_effect_destroy(video->conversion_effect);
 		gs_effect_destroy(video->bicubic_effect);
+		gs_effect_destroy(video->repeat_effect);
 		gs_effect_destroy(video->lanczos_effect);
 		gs_effect_destroy(video->bilinear_lowres_effect);
 		video->default_effect = NULL;