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.
This commit is contained in:
jp9000 2019-02-10 18:12:37 -08:00
parent 8c819f9bbd
commit 2a92555f58

View File

@ -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;