mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 18:45:45 -04:00
Renderers: Make shader cache path a prefix instead of directory
This commit is contained in:
@ -335,7 +335,7 @@ bool QtHostInterface::AcquireHostDisplay()
|
||||
createImGuiContext(display_widget->devicePixelRatioFromScreen());
|
||||
|
||||
if (!m_display->MakeRenderContextCurrent() ||
|
||||
!m_display->InitializeRenderDevice(GetShaderCacheDirectory(), m_settings.gpu_use_debug_device))
|
||||
!m_display->InitializeRenderDevice(GetShaderCacheBasePath(), m_settings.gpu_use_debug_device))
|
||||
{
|
||||
destroyImGuiContext();
|
||||
m_display->DestroyRenderDevice();
|
||||
|
Reference in New Issue
Block a user