diff mbox

[i-g-t] kms_cursor_crc: Move comment to the appropriate place

Message ID 1431360391-26678-1-git-send-email-damien.lespiau@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lespiau, Damien May 11, 2015, 4:06 p.m. UTC
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
---
 tests/kms_cursor_crc.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
diff mbox

Patch

diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index 9f20ae2..98a91d9 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)