diff --git a/Source/OpenTK/Platform/X11/X11XrandrDisplayDevice.cs b/Source/OpenTK/Platform/X11/X11XrandrDisplayDevice.cs index 47046c19..1bad4b0a 100644 --- a/Source/OpenTK/Platform/X11/X11XrandrDisplayDevice.cs +++ b/Source/OpenTK/Platform/X11/X11XrandrDisplayDevice.cs @@ -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();