mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
vulkan: use GDK_DISPLAY_NOTE
Where we have a display, we should use the per-display logging.
This commit is contained in:
parent
e048889a12
commit
3358c1fb32
@ -72,12 +72,12 @@ void gdk_display_unref_vulkan (GdkDisplay
|
||||
|
||||
#else /* !GDK_RENDERING_VULKAN */
|
||||
|
||||
|
||||
static inline gboolean
|
||||
gdk_display_ref_vulkan (GdkDisplay *display,
|
||||
GError **error)
|
||||
{
|
||||
GDK_NOTE (VULKAN, g_print ("Support for Vulkan disabled at compile-time"));
|
||||
|
||||
GDK_DISPLAY_NOTE (display, VULKAN, g_message ("Support for Vulkan disabled at compile-time"));
|
||||
g_set_error_literal (error, GDK_VULKAN_ERROR, GDK_VULKAN_ERROR_UNSUPPORTED,
|
||||
"Vulkan support was not enabled at compile time.");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user