[Spice-commits] src/spice-widget-egl.c
Pavel Grunt
pgrunt at kemper.freedesktop.org
Fri Apr 1 20:53:58 UTC 2016
src/spice-widget-egl.c | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 2cfa3a46031f5fb6cf8e52527d9000ad51883385
Author: Pavel Grunt <pgrunt at redhat.com>
Date: Fri Apr 1 18:48:05 2016 +0200
widget-egl: Define label only if can be used
The label can be used only with GDK_WINDOWING_WAYLAND
Silence -Wunused-label
diff --git a/src/spice-widget-egl.c b/src/spice-widget-egl.c
index 51bb5c5..c54d9f6 100644
--- a/src/spice-widget-egl.c
+++ b/src/spice-widget-egl.c
@@ -266,7 +266,10 @@ gboolean spice_egl_init(SpiceDisplay *display, GError **err)
eglMakeCurrent(d->egl.display, EGL_NO_SURFACE, EGL_NO_SURFACE,
d->egl.ctx);
+#ifdef GDK_WINDOWING_WAYLAND
end:
+#endif
+
if (!spice_egl_init_shaders(display, err))
return FALSE;
More information about the Spice-commits
mailing list