mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Don't use 'sf::err' in public example code
This commit is contained in:
parent
e982d08f37
commit
257c78f07a
@ -9,10 +9,11 @@
|
||||
#include <SFML/Graphics.hpp>
|
||||
|
||||
#include <SFML/Window.hpp>
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
#include <limits>
|
||||
#include <cstring>
|
||||
#include <vector>
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user