Fix number of devices in call to aglChoosePixelFormat.

This commit is contained in:
kanato 2009-01-15 05:25:00 +00:00
parent 180da6c5dd
commit 874896fd2f

View file

@ -104,7 +104,7 @@ namespace OpenTK.Platform.MacOS
// Choose a pixel format with the attributes we specified. // Choose a pixel format with the attributes we specified.
myAGLPixelFormat = Agl.aglChoosePixelFormat(QuartzDisplayDeviceDriver.MainDisplay, myAGLPixelFormat = Agl.aglChoosePixelFormat(QuartzDisplayDeviceDriver.MainDisplay,
0, aglAttributes.ToArray()); 1, aglAttributes.ToArray());
MyAGLReportError("aglChoosePixelFormat"); MyAGLReportError("aglChoosePixelFormat");