summaryrefslogtreecommitdiff
path: root/indra/newview/tests/llglslshader_stub.cpp
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2011-03-31 18:46:56 +0300
committerVadim ProductEngine <vsavchuk@productengine.com>2011-03-31 18:46:56 +0300
commit5a0547cdc366678a21c23ac4669d9e1a867ca331 (patch)
tree93664b4de3fdd7993f52150e6ac47c9391830a67 /indra/newview/tests/llglslshader_stub.cpp
parent5c3ae68299f79f3a705fa4b3e9cd262b56695318 (diff)
parent8c04829110028c951d05470d54de5bf3708ff773 (diff)
STORM-1126 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)
+{
+}