mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-22 00:25:39 -04:00
Ignore existing surface size on Android
Seems to be a race condition here where it's not up to date.
This commit is contained in:
@ -333,7 +333,9 @@ bool SwapChain::CreateSwapChain()
|
||||
// Determine the dimensions of the swap chain. Values of -1 indicate the size we specify here
|
||||
// determines window size?
|
||||
VkExtent2D size = surface_capabilities.currentExtent;
|
||||
#ifndef ANDROID
|
||||
if (size.width == UINT32_MAX)
|
||||
#endif
|
||||
{
|
||||
size.width = m_wi.surface_width;
|
||||
size.height = m_wi.surface_height;
|
||||
|
Reference in New Issue
Block a user