mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-04-20 20:01:49 +00:00
Implemented multisampling on MacOS (untested).
This commit is contained in:
parent
77788d19a4
commit
a405f07d55
|
@ -92,6 +92,12 @@ namespace OpenTK.Platform.MacOS
|
|||
AddPixelAttrib(aglAttributes, Agl.PixelFormatAttribute.AGL_ACCUM_BLUE_SIZE, mode.AccumulatorFormat.Blue);
|
||||
AddPixelAttrib(aglAttributes, Agl.PixelFormatAttribute.AGL_ACCUM_ALPHA_SIZE, mode.AccumulatorFormat.Alpha);
|
||||
}
|
||||
|
||||
if (mode.Samples > 0)
|
||||
{
|
||||
AddPixelAttrib(aglAttributes, Agl.PixelFormatAttribute.AGL_SAMPLE_BUFFERS_ARB, 1);
|
||||
AddPixelAttrib(aglAttributes, Agl.PixelFormatAttribute.AGL_SAMPLES_ARB, mode.Samples);
|
||||
}
|
||||
|
||||
if (fullscreen)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue