mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 16:15: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();
|
||||
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.Unindent();
|
||||
|
|
Loading…
Reference in a new issue