From 874896fd2fbb4375f4eb698b4bcc4ddde727cbd9 Mon Sep 17 00:00:00 2001 From: kanato Date: Thu, 15 Jan 2009 05:25:00 +0000 Subject: [PATCH] Fix number of devices in call to aglChoosePixelFormat. --- Source/OpenTK/Platform/MacOS/AglContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/OpenTK/Platform/MacOS/AglContext.cs b/Source/OpenTK/Platform/MacOS/AglContext.cs index 8b7821dd..c34885b0 100644 --- a/Source/OpenTK/Platform/MacOS/AglContext.cs +++ b/Source/OpenTK/Platform/MacOS/AglContext.cs @@ -104,7 +104,7 @@ namespace OpenTK.Platform.MacOS // Choose a pixel format with the attributes we specified. myAGLPixelFormat = Agl.aglChoosePixelFormat(QuartzDisplayDeviceDriver.MainDisplay, - 0, aglAttributes.ToArray()); + 1, aglAttributes.ToArray()); MyAGLReportError("aglChoosePixelFormat");