gdk: Fix an oversight
authorMatthias Clasen <mclasen@redhat.com>
Wed, 6 Oct 2021 03:23:41 +0000 (23:23 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 6 Oct 2021 03:47:51 +0000 (23:47 -0400)
The intention here was obviously to return
the hdr config.

gdk/gdkdisplay.c

index 25f940c47beb9db062b4167568e910ad86add1d3..875cf5c82b22b8db7e9a17871b32ad0ad5fa508f 100644 (file)
@@ -1443,7 +1443,7 @@ gdk_display_get_egl_config_hdr (GdkDisplay *self)
 {
   GdkDisplayPrivate *priv = gdk_display_get_instance_private (self);
 
-  return priv->egl_config;
+  return priv->egl_config_hdr;
 }
 
 static EGLDisplay