From 5c6457950b1886f317efaa2831e9d801d76dbbe3 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sat, 23 Mar 2019 14:14:11 -0700 Subject: Improved shader resource layout error reporting --- Primitives/interface/Errors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Primitives/interface') 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); -- cgit v1.2.3