diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-03-30 16:52:13 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-03-30 16:52:13 +0000 |
| commit | 5677bdafc48e6231a67c01e5d894ed657aa0ecf6 (patch) | |
| tree | a847157bc1d7f8811bcae2d37e9ebe1f8f9b4c6b /Primitives/interface | |
| parent | Implemented option to specify hardware adapter when initializing the engine i... (diff) | |
| download | DiligentCore-5677bdafc48e6231a67c01e5d894ed657aa0ecf6.tar.gz DiligentCore-5677bdafc48e6231a67c01e5d894ed657aa0ecf6.zip | |
Implemented initialization in fullscreen mode on Win32
Diffstat (limited to 'Primitives/interface')
| -rw-r--r-- | Primitives/interface/Errors.h | 8 |
1 files changed, 4 insertions, 4 deletions
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__) |
