summaryrefslogtreecommitdiff
path: root/indra/newview/llviewershadermgr.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-06-15 16:00:21 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-08-20 00:35:02 +0300
commit664ba53e4ce8510345e490cedf4401f6655f38fc (patch)
treecce2d45240725fa44df1b07258bfee8976314146 /indra/newview/llviewershadermgr.h
parent0ab6dfa12eb04238d82c7a4aea7390cbd28beacd (diff)
SL-17584 Make setShaders crashes more informative
Diffstat (limited to 'indra/newview/llviewershadermgr.h')
-rw-r--r--indra/newview/llviewershadermgr.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llviewershadermgr.h b/indra/newview/llviewershadermgr.h
index 87d90b49a9..ef49074959 100644
--- a/indra/newview/llviewershadermgr.h
+++ b/indra/newview/llviewershadermgr.h
@@ -49,7 +49,11 @@ public:
void setShaders();
void unloadShaders();
S32 getShaderLevel(S32 type);
- BOOL loadBasicShaders();
+
+ // loadBasicShaders in case of a failure returns
+ // name of a file error happened at, otherwise
+ // returns an empty string
+ std::string loadBasicShaders();
BOOL loadShadersEffects();
BOOL loadShadersDeferred();
BOOL loadShadersObject();