summaryrefslogtreecommitdiff
path: root/indra/newview/tests/llglslshader_stub.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2011-07-08 16:06:49 -0700
committerLeyla Farazha <leyla@lindenlab.com>2011-07-08 16:06:49 -0700
commitd7318bf9f07c1b043a9b4f50ce38b78eb3985e36 (patch)
tree80575768d0636caaa93b63bc5d39cafa6b21cf83 /indra/newview/tests/llglslshader_stub.cpp
parent5edd6b606b9bc011c64c890200a9fb54072e9fde (diff)
parent0553d47045e65a0249ec7ee514078161a4bec97e (diff)
merge
Diffstat (limited to 'indra/newview/tests/llglslshader_stub.cpp')
-rw-r--r--indra/newview/tests/llglslshader_stub.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/indra/newview/tests/llglslshader_stub.cpp b/indra/newview/tests/llglslshader_stub.cpp
new file mode 100644
index 0000000000..5333c8a361
--- /dev/null
+++ b/indra/newview/tests/llglslshader_stub.cpp
@@ -0,0 +1,22 @@
+/**
+ * @file llglslshader_stub.cpp
+ * @brief stub class to allow unit testing
+ *
+ * $LicenseInfo:firstyear=2009&license=viewergpl$
+ * Copyright (c) 2009, Linden Research, Inc.
+ * $/LicenseInfo$
+ */
+
+#include "llglslshader.h"
+
+void LLGLSLShader::uniform1f(const std::string& uniform, F32 num)
+{
+}
+
+void LLGLSLShader::uniform3fv(const std::string& uniform, U32 count, const GLfloat *v)
+{
+}
+
+void LLGLSLShader::uniform4fv(U32 index, U32 count, const GLfloat* v)
+{
+}