[Piglit] [PATCH 3/4] glean/texcube: Initialize TexCubeTest member variable.
Vinson Lee
vlee at freedesktop.org
Wed Dec 19 23:15:17 PST 2012
Fixes uninitialized scalar field defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
tests/glean/ttexcube.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/glean/ttexcube.h b/tests/glean/ttexcube.h
index 8ca15e3..7494022 100644
--- a/tests/glean/ttexcube.h
+++ b/tests/glean/ttexcube.h
@@ -43,7 +43,8 @@ class TexCubeTest: public BasicTest {
TexCubeTest(const char* testName, const char* filter,
const char* description):
BasicTest(testName, filter, "GL_ARB_texture_cube_map",
- description) {
+ description),
+ mTolerance() {
}
virtual void runOne(BasicResult& r, Window& w);
--
1.8.0.2
More information about the Piglit
mailing list