mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
Add async texrender to cleanup
This commit is contained in:
parent
98a256c8eb
commit
14f3e79260
@ -221,6 +221,7 @@ void obs_source_destroy(struct obs_source *source)
|
|||||||
source_frame_destroy(source->video_frames.array[i]);
|
source_frame_destroy(source->video_frames.array[i]);
|
||||||
|
|
||||||
gs_entercontext(obs->video.graphics);
|
gs_entercontext(obs->video.graphics);
|
||||||
|
texrender_destroy(source->async_convert_texrender);
|
||||||
texture_destroy(source->async_texture);
|
texture_destroy(source->async_texture);
|
||||||
gs_leavecontext();
|
gs_leavecontext();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user