Pārlūkot izejas kodu

Add async texrender to cleanup

Palana 11 gadi atpakaļ
vecāks
revīzija
14f3e79260
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      libobs/obs-source.c

+ 1 - 0
libobs/obs-source.c

@@ -221,6 +221,7 @@ void obs_source_destroy(struct obs_source *source)
 		source_frame_destroy(source->video_frames.array[i]);
 
 	gs_entercontext(obs->video.graphics);
+	texrender_destroy(source->async_convert_texrender);
 	texture_destroy(source->async_texture);
 	gs_leavecontext();