mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +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,
|
NSOpenGLPFABackingStore,
|
||||||
NSOpenGLPFAColorSize, 24,
|
NSOpenGLPFAColorSize, 24,
|
||||||
NSOpenGLPFAAlphaSize, 8,
|
NSOpenGLPFAAlphaSize, 8,
|
||||||
|
0
|
||||||
(NSOpenGLPixelFormatAttribute)nil
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if (major == 3 && minor == 2)
|
if (major == 3 && minor == 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user