summaryrefslogtreecommitdiff
path: root/indra/newview/tests/llglslshader_stub.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-04-22 18:25:57 -0400
committerOz Linden <oz@lindenlab.com>2011-04-22 18:25:57 -0400
commitc3df5f5d675abd107e1f0b4e3fb262226978ddb5 (patch)
treeb89e53c972d8db034d74e1dbc55bf27ab82d3b88 /indra/newview/tests/llglslshader_stub.cpp
parent391bef0df021dd3a56c262087ba977ab9f2bb662 (diff)
parent95847fc2061e9b71a4d2ce078b525c047fc4ad36 (diff)
merge up latest viewer-development
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)
+{
+}