mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-15 08:06:16 +00:00
Silent audio mixing fix; Xlib Vulkan destruction order fix
This commit is contained in:
@@ -413,6 +413,14 @@ public:
|
||||
|
||||
~ApplicationXlib()
|
||||
{
|
||||
for (auto& p : m_windows)
|
||||
if (auto w = p.second.lock())
|
||||
w->_cleanup();
|
||||
|
||||
#if BOO_HAS_VULKAN
|
||||
g_VulkanContext.destroyDevice();
|
||||
#endif
|
||||
|
||||
if (m_fontset)
|
||||
XFreeFontSet(m_xDisp, m_fontset);
|
||||
if (m_xIM)
|
||||
@@ -541,10 +549,6 @@ public:
|
||||
if (clientThread.joinable())
|
||||
clientThread.join();
|
||||
|
||||
#if BOO_HAS_VULKAN
|
||||
g_VulkanContext.destroyDevice();
|
||||
#endif
|
||||
|
||||
return clientReturn;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user