summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2011-01-08 00:57:12 -0800
committerVinson Lee <vlee@vmware.com>2011-01-08 00:57:12 -0800
commitfe8c26746110d1b3e719c954451b9c9de93cc0ac (patch)
tree3e5d3f03c570102df08270bf5475bd063810fb9c
parent8688398bcfe6635ce1aaec123c89dea4a1bac5e2 (diff)
pixelFormats: Initialize member variables in class PixelFormatsTest constructor.
-rw-r--r--tests/glean/tpixelformats.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/glean/tpixelformats.h b/tests/glean/tpixelformats.h
index faffc327b..87720216e 100644
--- a/tests/glean/tpixelformats.h
+++ b/tests/glean/tpixelformats.h
@@ -45,6 +45,12 @@ public:
const char *extensions, const char* description)
: MultiTest(testName, filter, extensions, description)
{
+ alphaBits = 0;
+ defaultAlpha = 0;
+ haveHalfFloat = false;
+ haveABGR = false;
+ haveSRGB = false;
+ haveCombine = false;
}
virtual void runOne(MultiTestResult &r, Window &w);