macos: explicitly request color and alpha sizes

This commit is contained in:
Christian Hergert 2020-11-05 13:37:25 -08:00
parent bf3e1e5b40
commit bc05da8dc0

View File

@ -101,6 +101,8 @@ create_pixel_format (int major,
NSOpenGLPFAAccelerated,
NSOpenGLPFADoubleBuffer,
NSOpenGLPFABackingStore,
NSOpenGLPFAColorSize, 32,
NSOpenGLPFAAlphaSize, 8,
(NSOpenGLPixelFormatAttribute)nil
};