summaryrefslogtreecommitdiff
path: root/indra/newview/tests/llpipeline_stub.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2011-07-09 11:05:29 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2011-07-09 11:05:29 -0400
commit961d5b1d65fffff7075d0afbce003586b1f3b197 (patch)
treed72caf02576506883be2638a458616bd8b5ea292 /indra/newview/tests/llpipeline_stub.cpp
parentdd6547a55e02a4340cb178c72acff1216a56f84c (diff)
parentb40a44d24d7e59d9102f603a28ab329046e34b5d (diff)
merge
Diffstat (limited to 'indra/newview/tests/llpipeline_stub.cpp')
-rw-r--r--indra/newview/tests/llpipeline_stub.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/indra/newview/tests/llpipeline_stub.cpp b/indra/newview/tests/llpipeline_stub.cpp
new file mode 100644
index 0000000000..85bf0ae3fb
--- /dev/null
+++ b/indra/newview/tests/llpipeline_stub.cpp
@@ -0,0 +1,15 @@
+/**
+ * @file llpipeline_stub.cpp
+ * @brief stub class to allow unit testing
+ *
+ * $LicenseInfo:firstyear=2009&license=viewergpl$
+ * Copyright (c) 2009, Linden Research, Inc.
+ * $/LicenseInfo$
+ */
+
+class LLPipeline
+{
+public: BOOL canUseWindLightShaders() const;
+};
+BOOL LLPipeline::canUseWindLightShaders() const {return TRUE;}
+LLPipeline gPipeline;