macos: Actually set the vfuncs
authorBenjamin Otte <otte@redhat.com>
Fri, 24 Sep 2021 20:11:22 +0000 (22:11 +0200)
committerBenjamin Otte <otte.benjamin@googlemail.com>
Wed, 29 Sep 2021 00:05:14 +0000 (00:05 +0000)
(cherry picked from commit d61c71c3780e06cdc13599aa3a334f3124bab276)

gdk/macos/gdkmacosglcontext.c

index e959f0e30fb49c71f4b3f72cbd9aa96adfee52c6..cc0b5fab15e2655a3f808982626793f8096ddf9d 100644 (file)
@@ -514,6 +514,8 @@ gdk_macos_gl_context_class_init (GdkMacosGLContextClass *klass)
   draw_context_class->surface_resized = gdk_macos_gl_context_surface_resized;
 
   gl_class->get_damage = gdk_macos_gl_context_get_damage;
+  gl_class->clear_current = gdk_macos_gl_context_clear_current;
+  gl_class->make_current = gdk_macos_gl_context_make_current;
   gl_class->realize = gdk_macos_gl_context_real_realize;
 
   gl_class->backend_type = GDK_GL_CGL;