mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-06-02 02:40:15 +00:00
Report Xinerama as not supported when it fails to detect any devices. Fixes issue on Nvidia drivers when Twinview is enabled.
This commit is contained in:
parent
ddb51b25f7
commit
8f9cd3decf
|
@ -116,7 +116,7 @@ namespace OpenTK.Platform.X11
|
||||||
deviceToScreen.Add(dev, 0 /*screen.ScreenNumber*/);
|
deviceToScreen.Add(dev, 0 /*screen.ScreenNumber*/);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return (devices.Count>0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool QueryXRandR(List<DisplayDevice> devices)
|
static bool QueryXRandR(List<DisplayDevice> devices)
|
||||||
|
|
Loading…
Reference in a new issue