Skip to content
Snippets Groups Projects
Commit 7d94bcf7 authored by Dave Houlton's avatar Dave Houlton
Browse files

DRTVWR-440 Add compile switch SHADER_CRASH_NONFATAL to prevent app exit on shader failure

parent f9eada57
No related branches found
No related tags found
No related merge requests found
...@@ -2212,7 +2212,9 @@ void errorCallback(const std::string &error_string) ...@@ -2212,7 +2212,9 @@ void errorCallback(const std::string &error_string)
// static info file. // static info file.
LLAppViewer::instance()->writeDebugInfo(); LLAppViewer::instance()->writeDebugInfo();
#ifndef SHADER_CRASH_NONFATAL
LLError::crashAndLoop(error_string); LLError::crashAndLoop(error_string);
#endif
} }
void LLAppViewer::initLoggingAndGetLastDuration() void LLAppViewer::initLoggingAndGetLastDuration()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment