mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-12 15:05:37 +00:00
Fix number of devices in call to aglChoosePixelFormat.
This commit is contained in:
parent
180da6c5dd
commit
874896fd2f
|
@ -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");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue