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:
parent
8c819f9bbd
commit
2a92555f58
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user