summaryrefslogtreecommitdiff
path: root/gdk/wayland/gdkglcontext-wayland.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2016-10-10 14:10:38 -0400
committerMatthias Clasen <mclasen@redhat.com>2016-10-10 14:17:09 -0400
commit3b11575f0b9d4842f9bcca42d84e30df72df86a3 (patch)
tree76cd9c165a36b89bdfb1e55673a76c80ff08237c /gdk/wayland/gdkglcontext-wayland.c
parent31b77ae0b6e3d0bc04563678186e241505d05627 (diff)
downloadgtk+-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.c2
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;