[gtk+/wip/gbsneto/vulkan-wayland] vulkancontext: Improve debug output



commit 7b1ec69587bc2908bfcf6719315606da1acc8131
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Jan 6 01:41:20 2017 -0200

    vulkancontext: Improve debug output

 gdk/gdkvulkancontext.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gdk/gdkvulkancontext.c b/gdk/gdkvulkancontext.c
index 0be11c1..db5099a 100644
--- a/gdk/gdkvulkancontext.c
+++ b/gdk/gdkvulkancontext.c
@@ -681,25 +681,25 @@ gdk_vulkan_debug_report (VkDebugReportFlagsEXT      flags,
 
   if (flags & VK_DEBUG_REPORT_ERROR_BIT_EXT)
     {
-      g_critical ("Vulkan: %s: %s\n", pLayerPrefix, pMessage);
+      g_critical ("Vulkan: %s: %s", pLayerPrefix, pMessage);
       should_abort = VK_TRUE;
     }
   else if (flags & VK_DEBUG_REPORT_WARNING_BIT_EXT)
     {
-      g_critical ("Vulkan: %s: %s\n", pLayerPrefix, pMessage);
+      g_critical ("Vulkan: %s: %s", pLayerPrefix, pMessage);
       should_abort = VK_TRUE;
     }
   else if (flags & VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT)
     {
-      g_warning ("Vulkan: %s: %s\n", pLayerPrefix, pMessage);
+      g_warning ("Vulkan: %s: %s", pLayerPrefix, pMessage);
     }
   else if (flags & VK_DEBUG_REPORT_DEBUG_BIT_EXT)
     {
-      g_debug ("Vulkan: %s: %s\n", pLayerPrefix, pMessage);
+      g_debug ("Vulkan: %s: %s", pLayerPrefix, pMessage);
     }
   else
     {
-      g_message ("Vulkan: %s: %s\n", pLayerPrefix, pMessage);
+      g_message ("Vulkan: %s: %s", pLayerPrefix, pMessage);
     }
   
   return should_abort;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]