summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Schoonjans <Tom.Schoonjans@rfi.ac.uk>2021-03-24 10:07:55 +0000
committerTom Schoonjans <Tom.Schoonjans@rfi.ac.uk>2021-03-24 10:08:11 +0000
commitd5de73fb9d26576811b802f4a2745a3de0f6a53d (patch)
tree2450140b07dbaa66cf0dca5d623ab1061203123d
parentb539c92312d449f41710e6930aaf086454d667d2 (diff)
downloadgtk+-d5de73fb9d26576811b802f4a2745a3de0f6a53d.tar.gz
gdkmacosglcontext: fix compilation error
See https://developer.apple.com/documentation/appkit/nsopenglpixelformat/1436219-initwithattributes?language=occ
-rw-r--r--gdk/macos/gdkmacosglcontext.c3
1 files changed, 1 insertions, 2 deletions
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)