mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 20:05:47 -04:00
HostDisplay: Support refresh rate queries on all platforms except Mac
This commit is contained in:
@ -470,7 +470,7 @@ void QtHostInterface::onDisplayWindowResized(int width, int height)
|
||||
|
||||
Log_DevPrintf("Display window resized to %dx%d", width, height);
|
||||
m_display->ResizeRenderWindow(width, height);
|
||||
OnHostDisplayResized(width, height, m_display->GetWindowScale());
|
||||
OnHostDisplayResized();
|
||||
|
||||
// re-render the display, since otherwise it will be out of date and stretched if paused
|
||||
if (!System::IsShutdown())
|
||||
@ -615,7 +615,7 @@ void QtHostInterface::updateDisplayState()
|
||||
connectDisplaySignals(display_widget);
|
||||
m_is_exclusive_fullscreen = m_display->IsFullscreen();
|
||||
|
||||
OnHostDisplayResized(m_display->GetWindowWidth(), m_display->GetWindowHeight(), m_display->GetWindowScale());
|
||||
OnHostDisplayResized();
|
||||
|
||||
if (!System::IsShutdown())
|
||||
{
|
||||
|
Reference in New Issue
Block a user