diff options
author | Adam Jackson <ajax@redhat.com> | 2016-10-10 14:10:38 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-10-10 14:17:09 -0400 |
commit | 3b11575f0b9d4842f9bcca42d84e30df72df86a3 (patch) | |
tree | 76cd9c165a36b89bdfb1e55673a76c80ff08237c /gdk/wayland/gdkglcontext-wayland.c | |
parent | 31b77ae0b6e3d0bc04563678186e241505d05627 (diff) | |
download | gtk+-3b11575f0b9d4842f9bcca42d84e30df72df86a3.tar.gz |
Fix some EGLDisplay * abuse
EGLDisplays are already opaque pointers, and eglGetDisplay returns an
EGLDisplay not a pointer to one.
Signed-off-by: Adam Jackson <ajax@redhat.com>
https://bugzilla.gnome.org/show_bug.cgi?id=772415
Diffstat (limited to 'gdk/wayland/gdkglcontext-wayland.c')
-rw-r--r-- | gdk/wayland/gdkglcontext-wayland.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/wayland/gdkglcontext-wayland.c b/gdk/wayland/gdkglcontext-wayland.c index 7733188ac2..ae1354ef70 100644 --- a/gdk/wayland/gdkglcontext-wayland.c +++ b/gdk/wayland/gdkglcontext-wayland.c @@ -279,7 +279,7 @@ gdk_wayland_display_init_gl (GdkDisplay *display) { GdkWaylandDisplay *display_wayland = GDK_WAYLAND_DISPLAY (display); EGLint major, minor; - EGLDisplay *dpy; + EGLDisplay dpy; if (display_wayland->have_egl) return TRUE; |