From 257c78f07a0b0384f569ae262a8de2202f410c8b Mon Sep 17 00:00:00 2001 From: Vittorio Romeo Date: Mon, 20 Dec 2021 00:29:18 +0100 Subject: [PATCH] Don't use 'sf::err' in public example code --- examples/vulkan/Vulkan.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/vulkan/Vulkan.cpp b/examples/vulkan/Vulkan.cpp index e1ad63ddd..fe1d2c697 100644 --- a/examples/vulkan/Vulkan.cpp +++ b/examples/vulkan/Vulkan.cpp @@ -9,10 +9,11 @@ #include #include -#include +#include #include -#include +#include #include +#include //////////////////////////////////////////////////////////// @@ -168,7 +169,7 @@ namespace // Debug we pass to Vulkan to call when it detects warnings or errors VKAPI_ATTR VkBool32 VKAPI_CALL debugCallback(VkDebugReportFlagsEXT, VkDebugReportObjectTypeEXT, uint64_t, size_t, int32_t, const char*, const char* pMessage, void*) { - sf::err() << pMessage << std::endl; + std::cerr << pMessage << std::endl; return VK_FALSE; }