mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
gdkmacosglcontext: fix compilation error
See https://developer.apple.com/documentation/appkit/nsopenglpixelformat/1436219-initwithattributes?language=occ
This commit is contained in:
parent
b539c92312
commit
d5de73fb9d
@ -103,8 +103,7 @@ create_pixel_format (int major,
|
||||
NSOpenGLPFABackingStore,
|
||||
NSOpenGLPFAColorSize, 24,
|
||||
NSOpenGLPFAAlphaSize, 8,
|
||||
|
||||
(NSOpenGLPixelFormatAttribute)nil
|
||||
0
|
||||
};
|
||||
|
||||
if (major == 3 && minor == 2)
|
||||
|
Loading…
Reference in New Issue
Block a user