mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-19 00:35:46 -04:00
FrontendCommon: Add duck icon to loading screens
This commit is contained in:
@ -482,7 +482,8 @@ bool QtHostInterface::AcquireHostDisplay()
|
||||
createImGuiContext(display_widget->devicePixelRatioFromScreen());
|
||||
|
||||
if (!m_display->MakeRenderContextCurrent() ||
|
||||
!m_display->InitializeRenderDevice(GetShaderCacheBasePath(), g_settings.gpu_use_debug_device))
|
||||
!m_display->InitializeRenderDevice(GetShaderCacheBasePath(), g_settings.gpu_use_debug_device) ||
|
||||
!CreateHostDisplayResources())
|
||||
{
|
||||
destroyImGuiContext();
|
||||
m_display->DestroyRenderDevice();
|
||||
@ -561,6 +562,7 @@ void QtHostInterface::ReleaseHostDisplay()
|
||||
{
|
||||
Assert(m_display);
|
||||
|
||||
ReleaseHostDisplayResources();
|
||||
m_display->DestroyRenderDevice();
|
||||
destroyImGuiContext();
|
||||
emit destroyDisplayRequested();
|
||||
|
Reference in New Issue
Block a user