diff options
Diffstat (limited to 'core/modules/run-virt/winres/src')
-rw-r--r-- | core/modules/run-virt/winres/src/winres.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/modules/run-virt/winres/src/winres.c b/core/modules/run-virt/winres/src/winres.c index 7020b1a5..d1022acf 100644 --- a/core/modules/run-virt/winres/src/winres.c +++ b/core/modules/run-virt/winres/src/winres.c @@ -673,14 +673,13 @@ static int setResolution() default: // Legacy WinAPI (single screen only) ret = setResWinLegacy(res, nres); - if (ret != ENOTSUP) - break; if (ret == 0 && nres > 1 && callCount == 2) { // Legacy winapi worked, but if we have more than one screen, pretend it failed // the first time, so maybe one of the methods above will work if we call them again // (Looking at you, VMwareResolutionSet) ret = EAGAIN; // Fake failure } + break; } return ret; } |