mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-15 23:40:29 +02:00
Another piece of the fix for #17250 (opensuse build error)
This commit is contained in:
1 parent
b4c766f756
commit
f376f3cb5f
1 file changed
+2
-2
@@ -970,8 +970,8 @@ VkResult VulkanContext::ReinitSurface() {
|
||||
{
|
||||
const VkDisplayModePropertiesKHR* mode = &mode_props[i];
|
||||
|
||||
if (mode->parameters.visibleRegion.width == pixel_xres &&
|
||||
mode->parameters.visibleRegion.height == pixel_yres)
|
||||
if (mode->parameters.visibleRegion.width == g_display.pixel_xres &&
|
||||
mode->parameters.visibleRegion.height == g_display.pixel_yres)
|
||||
{
|
||||
display_mode = mode->displayMode;
|
||||
mode_found = true;
|
||||
|
||||
Reference in new issue
Block a user