summaryrefslogtreecommitdiff
path: root/tests/glean
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2013-01-01 15:46:29 -0800
committerVinson Lee <vlee@freedesktop.org>2013-01-02 22:51:13 -0800
commit9fef85daac4269ea3d6b80280a827beca784aff6 (patch)
tree6b5de3689c67a78c0fe06d03b588833384b792ab /tests/glean
parent0bf0fdddd65d83238d12e441f06a7cc747626a54 (diff)
glean/glsl1: Initialized GLSLTest member variables.
Fixes uninitialized scalar field defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'tests/glean')
-rw-r--r--tests/glean/tglsl1.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/glean/tglsl1.h b/tests/glean/tglsl1.h
index 34c1d23de..57cf66d7e 100644
--- a/tests/glean/tglsl1.h
+++ b/tests/glean/tglsl1.h
@@ -57,7 +57,11 @@ class GLSLTest: public MultiTest
public:
GLSLTest(const char* testName, const char* filter,
const char *extensions, const char* description):
- MultiTest(testName, filter, extensions, description)
+ MultiTest(testName, filter, extensions, description),
+ tolerance(),
+ looseTolerance(),
+ glsl_120(false),
+ glsl_130(false)
{
testOne = true; // test with just one surface config
}