Destroy the VTRenderer before leaving fullscreen

Fixes #973
This commit is contained in:
Cameron Gutman committed 2023-09-11 21:07:54 -05:00
1 parent 2ac7176787
commit 64789ea8bc
2 files changed
+9 -1

No files matched your search

@@ -112,6 +112,10 @@ public:
if (m_DisplayLayer != nullptr) {
[m_DisplayLayer release];
}
// It appears to be necessary to run the event loop after destroying
// the AVSampleBufferDisplayLayer to avoid issue #973.
SDL_PumpEvents();
}}
static