diff --git a/gdk/macos/gdkmacosglcontext.c b/gdk/macos/gdkmacosglcontext.c index a8b28b05be..b785beadc0 100644 --- a/gdk/macos/gdkmacosglcontext.c +++ b/gdk/macos/gdkmacosglcontext.c @@ -103,8 +103,7 @@ create_pixel_format (int major, NSOpenGLPFABackingStore, NSOpenGLPFAColorSize, 24, NSOpenGLPFAAlphaSize, 8, - - (NSOpenGLPixelFormatAttribute)nil + 0 }; if (major == 3 && minor == 2)