[gtk/matthiasc/for-master] gdk: Fix an oversight




commit f819e88e9c6048e89c1433673ca10b0a9a53d341
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Oct 5 23:23:41 2021 -0400

    gdk: Fix an oversight
    
    The intention here was obviously to return
    the hdr config.

 gdk/gdkdisplay.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 25f940c47b..875cf5c82b 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]