mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 03:35:33 +00:00
Now adds all available resolutions, not just the default one.
This commit is contained in:
parent
f77e45a829
commit
ed45d3590d
|
@ -35,7 +35,7 @@ namespace OpenTK.Platform.X11
|
||||||
Debug.Indent();
|
Debug.Indent();
|
||||||
for (int count = 0; count < array.Length; count++)
|
for (int count = 0; count < array.Length; count++)
|
||||||
{
|
{
|
||||||
resolutions.Add(new DisplayResolution(array[i].Width, array[i].Height, 24, 0));
|
resolutions.Add(new DisplayResolution(array[count].Width, array[count].Height, 24, 0));
|
||||||
Debug.Print(resolutions[count].ToString());
|
Debug.Print(resolutions[count].ToString());
|
||||||
}
|
}
|
||||||
Debug.Unindent();
|
Debug.Unindent();
|
||||||
|
|
Loading…
Reference in a new issue