[Piglit] [PATCH] ext_framebuffer_multisample: Initialize InterpolationTestPattern member.
Vinson Lee
vlee at freedesktop.org
Thu Dec 6 21:54:48 PST 2012
Fixes uninitialized scalar field defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
tests/spec/ext_framebuffer_multisample/common.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/spec/ext_framebuffer_multisample/common.cpp b/tests/spec/ext_framebuffer_multisample/common.cpp
index 412bf01..717718c 100644
--- a/tests/spec/ext_framebuffer_multisample/common.cpp
+++ b/tests/spec/ext_framebuffer_multisample/common.cpp
@@ -703,7 +703,7 @@ void Triangles::draw(const float (*proj)[4])
InterpolationTestPattern::InterpolationTestPattern(const char *frag)
- : frag(frag)
+ : frag(frag), viewport_size_loc(0)
{
}
--
1.8.0.1
More information about the Piglit
mailing list