mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
gsk: Fix build without Wayland
This commit is contained in:
parent
9e22118feb
commit
d6a6820d99
@ -1069,8 +1069,8 @@ gsk_renderer_get_for_display (GdkDisplay *display)
|
|||||||
#ifdef GDK_WINDOWING_WAYLAND
|
#ifdef GDK_WINDOWING_WAYLAND
|
||||||
if (GDK_IS_WAYLAND_DISPLAY (display))
|
if (GDK_IS_WAYLAND_DISPLAY (display))
|
||||||
renderer_type = GSK_TYPE_GL_RENDERER;
|
renderer_type = GSK_TYPE_GL_RENDERER;
|
||||||
#endif
|
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
GSK_NOTE (RENDERER, g_print ("Creating renderer of type '%s' for display '%s'\n",
|
GSK_NOTE (RENDERER, g_print ("Creating renderer of type '%s' for display '%s'\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user