Enable QT_MESSAGELOGCONTEXT and debugging info in release builds

This commit is contained in:
baldurk committed 2016-10-12 13:02:03 +02:00
1 parent ec1ce1d738
commit 402ef54f0d
2 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -291,7 +291,7 @@ extern "C" RENDERDOC_API void RENDERDOC_CC RENDERDOC_LogMessage(LogMessageType t
RDCCOMPILE_ASSERT(
(int)eLogType_First == (int)RDCLog_First && (int)eLogType_NumTypes == (int)eLogType_NumTypes,
"Log type enum is out of sync");
rdclog_int((LogType)type, project, file, line, "%s", text);
rdclog_int((LogType)type, project ? project : "UNK?", file ? file : "unknown", line, "%s", text);
}
extern "C" RENDERDOC_API const char *RENDERDOC_CC RENDERDOC_GetLogFile()