diff --git a/src/OpenTK/Platform/X11/X11DisplayDevice.cs b/src/OpenTK/Platform/X11/X11DisplayDevice.cs index fe018ecb..e3c576c0 100644 --- a/src/OpenTK/Platform/X11/X11DisplayDevice.cs +++ b/src/OpenTK/Platform/X11/X11DisplayDevice.cs @@ -232,7 +232,7 @@ namespace OpenTK.Platform.X11 dev.RefreshRate = current_refresh_rate; dev.AvailableResolutions = available_res; - deviceToDefaultResolution.Add(dev, current_resolution_index); + deviceToDefaultResolution.Add(dev, current_sizes_index); } return true;