diff options
author | Vinson Lee <vlee@freedesktop.org> | 2012-12-08 20:39:56 -0800 |
---|---|---|
committer | Vinson Lee <vlee@freedesktop.org> | 2012-12-09 16:42:00 -0800 |
commit | a229568b314013dcada405b629fdf3dce8868ad8 (patch) | |
tree | 501381c7d2b8f3dff9d6ad0cbda2fe12b5b0d41a | |
parent | 67082ed98a910591639081d8330217edb01b5833 (diff) |
ext_framebuffer_multisample: Initialize Sunburst 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>
-rw-r--r-- | tests/spec/ext_framebuffer_multisample/common.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/spec/ext_framebuffer_multisample/common.cpp b/tests/spec/ext_framebuffer_multisample/common.cpp index 717718c3..a18dddd4 100644 --- a/tests/spec/ext_framebuffer_multisample/common.cpp +++ b/tests/spec/ext_framebuffer_multisample/common.cpp @@ -1033,7 +1033,16 @@ void Points::draw(const float (*proj)[4]) Sunburst::Sunburst() : out_type(GL_UNSIGNED_NORMALIZED), - compute_depth(false) + compute_depth(false), + prog(0), + rotation_loc(0), + vert_depth_loc(0), + frag_depth_loc(0), + proj_loc(0), + draw_colors_loc(0), + vao(0), + num_tris(0), + vertex_buf(0) { } |