From 5677bdafc48e6231a67c01e5d894ed657aa0ecf6 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Fri, 30 Mar 2018 09:52:13 -0700 Subject: Implemented initialization in fullscreen mode on Win32 --- Primitives/interface/Errors.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Primitives/interface') diff --git a/Primitives/interface/Errors.h b/Primitives/interface/Errors.h index 1a1a4a4f..611ff7a8 100644 --- a/Primitives/interface/Errors.h +++ b/Primitives/interface/Errors.h @@ -94,10 +94,10 @@ do{ \ #define LOG_DEBUG_MESSAGE(Severity, ...)\ -do{ \ - Diligent::MsgStream ss; \ - Diligent::FormatMsg( ss, ##__VA_ARGS__ );\ - if(Diligent::DebugMessageCallback != nullptr) Diligent::DebugMessageCallback( Severity, ss.str().c_str(), nullptr, nullptr, 0 );\ +do{ \ + Diligent::MsgStream _msg_ss; \ + Diligent::FormatMsg( _msg_ss, ##__VA_ARGS__ );\ + if(Diligent::DebugMessageCallback != nullptr) Diligent::DebugMessageCallback( Severity, _msg_ss.str().c_str(), nullptr, nullptr, 0 );\ }while(false) #define LOG_ERROR_MESSAGE(...) LOG_DEBUG_MESSAGE(Diligent::DebugMessageSeverity::Error, ##__VA_ARGS__) -- cgit v1.2.3