summaryrefslogtreecommitdiff
path: root/tests/kms_cursor_crc.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2015-05-11 16:36:51 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2015-05-11 17:06:56 +0100
commit09ea86eac13d319fe6a1b84b0b1ff1db1bb86189 (patch)
treea19a6edf0305980a28d0b0da08d4d890b04776c3 /tests/kms_cursor_crc.c
parent672238dbf76704019d6248e6031479afb8888d3f (diff)
kms_cursor_crc: Move comment to the appropriate place
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'tests/kms_cursor_crc.c')
-rw-r--r--tests/kms_cursor_crc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index 9f20ae22..98a91d94 100644
--- a/tests/kms_cursor_crc.c
+++ b/tests/kms_cursor_crc.c
@@ -158,11 +158,10 @@ static void do_single_test(data_t *data, int x, int y)
igt_wait_for_vblank(data->drm_fd, data->pipe);
igt_pipe_crc_collect_crc(pipe_crc, &ref_crc);
- /* Clear screen afterwards */
igt_assert_crc_equal(&crc, &ref_crc);
- igt_paint_color(cr, 0, 0, data->screenw, data->screenh,
- 0.0, 0.0, 0.0);
+ /* Clear screen afterwards */
+ igt_paint_color(cr, 0, 0, data->screenw, data->screenh, 0.0, 0.0, 0.0);
}
static void do_fail_test(data_t *data, int x, int y, int expect)