diff options
author | Dave Airlie <airlied@redhat.com> | 2010-04-11 17:37:08 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-04-11 17:37:08 +1000 |
commit | 5cc65f3162190728014e4c1fbf57e2a2778861a6 (patch) | |
tree | 4c01b18831700acd3682b7b72c141e58080997b2 /tests/general | |
parent | 1064629c793689a14d0c627a527b6c9df0312f70 (diff) |
scissor-bitmap: fix use of uninitialised variable.
caused this test to fail randomly.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'tests/general')
-rw-r--r-- | tests/general/scissor-bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/general/scissor-bitmap.c b/tests/general/scissor-bitmap.c index c4fd9fa2..3469393f 100644 --- a/tests/general/scissor-bitmap.c +++ b/tests/general/scissor-bitmap.c @@ -151,7 +151,7 @@ piglit_display() int center_y_start = (piglit_height - fdo_bitmap_height) / 2; int start_x, start_y; struct probes probes; - GLboolean pass; + GLboolean pass = GL_TRUE; piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE); memset(&probes, 0, sizeof(probes)); |