Explorar o código

Add async texrender to cleanup

Palana %!s(int64=11) %!d(string=hai) anos
pai
achega
14f3e79260
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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();