Selaa lähdekoodia

libobs: Fix stale active_copy_surfaces entries

jpark37 3 vuotta sitten
vanhempi
sitoutus
f0f0cb3038
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      libobs/obs.c

+ 2 - 0
libobs/obs.c

@@ -557,6 +557,8 @@ static void obs_free_video(void)
 						video->copy_surfaces[i][c]);
 					video->copy_surfaces[i][c] = NULL;
 				}
+
+				video->active_copy_surfaces[i][c] = NULL;
 			}
 #ifdef _WIN32
 			if (video->copy_surfaces_encode[i]) {