diff --git a/Source/OpenTK/Platform/MacOS/QuartzDisplayDeviceDriver.cs b/Source/OpenTK/Platform/MacOS/QuartzDisplayDeviceDriver.cs index 0982fb25..79703cc2 100644 --- a/Source/OpenTK/Platform/MacOS/QuartzDisplayDeviceDriver.cs +++ b/Source/OpenTK/Platform/MacOS/QuartzDisplayDeviceDriver.cs @@ -161,10 +161,10 @@ namespace OpenTK.Platform.MacOS if (width == resolution.Width && height == resolution.Height && bpp == resolution.BitsPerPixel && System.Math.Abs(freq - resolution.RefreshRate) < 1e-6) { - if (displaysCaptured.Contains(display) == false) - { - CG.DisplayCapture(display); - } +// if (displaysCaptured.Contains(display) == false) +// { +// CG.DisplayCapture(display); +// } Debug.Print("Changing resolution to {0}x{1}x{2}@{3}.", width, height, bpp, freq); @@ -186,7 +186,7 @@ namespace OpenTK.Platform.MacOS Debug.Print("Restoring resolution."); CG.DisplaySwitchToMode(display, storedModes[display]); - CG.DisplayRelease(display); + //CG.DisplayRelease(display); displaysCaptured.Remove(display); return true;