summaryrefslogtreecommitdiffstats
path: root/Primitives/interface
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-03-23 21:14:11 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-03-23 21:14:11 +0000
commit5c6457950b1886f317efaa2831e9d801d76dbbe3 (patch)
treee1d44ba8cf8934ef491e9fb068d9f85f82699fef /Primitives/interface
parentUpdated third-party submodules (diff)
downloadDiligentCore-5c6457950b1886f317efaa2831e9d801d76dbbe3.tar.gz
DiligentCore-5c6457950b1886f317efaa2831e9d801d76dbbe3.zip
Improved shader resource layout error reporting
Diffstat (limited to 'Primitives/interface')
-rw-r--r--Primitives/interface/Errors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Primitives/interface/Errors.h b/Primitives/interface/Errors.h
index 8a31c339..e8d14cd1 100644
--- a/Primitives/interface/Errors.h
+++ b/Primitives/interface/Errors.h
@@ -51,7 +51,7 @@ void LogError( const char *Function, const char *FullFilePath, int Line, const A
auto LastSlashPos = FileName.find_last_of("/\\");
if(LastSlashPos != std::string::npos)
FileName.erase(0, LastSlashPos+1);
- auto Msg = Diligent::FormatString(Args...);
+ auto Msg = FormatString(Args...);
if(DebugMessageCallback != nullptr)
{
DebugMessageCallback( bThrowException ? DebugMessageSeverity::FatalError : DebugMessageSeverity::Error, Msg.c_str(), Function, FileName.c_str(), Line);