From 9a299788d8f63c9c3e6a1e6f0c52932604bcd3bd Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Tue, 8 Aug 2017 10:03:38 +1000 Subject: [PATCH] Missed one replacement of current_resolution_index to current_sizes_index --- src/OpenTK/Platform/X11/X11DisplayDevice.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;