diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-01-11 19:48:27 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-01-14 17:05:04 -0500 |
commit | e151058dffbfd3b43798c2e6813eae9b952ba2d1 (patch) | |
tree | 3b827dcabc510cee197a01de3a5cafaa88d2811c /gdk/gdkvulkancontextprivate.h | |
parent | c5fc841285f9ab7939e7f1a01146780b47c4be3b (diff) | |
download | gtk+-e151058dffbfd3b43798c2e6813eae9b952ba2d1.tar.gz |
Make gdk logging per-display
As far as possible, use per-display debug flags.
This will minimize the debug spew that we get from
the inspector if it is running on a separate display.
Diffstat (limited to 'gdk/gdkvulkancontextprivate.h')
-rw-r--r-- | gdk/gdkvulkancontextprivate.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdk/gdkvulkancontextprivate.h b/gdk/gdkvulkancontextprivate.h index c7b987fd0e..cd2216e781 100644 --- a/gdk/gdkvulkancontextprivate.h +++ b/gdk/gdkvulkancontextprivate.h @@ -60,9 +60,7 @@ gdk_vulkan_handle_result (VkResult res, const char *called_function) { if (res != VK_SUCCESS) - { - GDK_NOTE (VULKAN,g_printerr ("%s(): %s (%d)\n", called_function, gdk_vulkan_strerror (res), res)); - } + GDK_NOTE (VULKAN, g_printerr ("%s(): %s (%d)\n", called_function, gdk_vulkan_strerror (res), res)); return res; } @@ -78,7 +76,7 @@ static inline gboolean gdk_display_ref_vulkan (GdkDisplay *display, GError **error) { - GDK_NOTE (VULKAN, g_print ("Support for Vulkan disabled at compile-time")); + GDK_NOTE (display, VULKAN, g_print ("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."); |