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

Damien Lespiau damien.lespiau at intel.com
Mon May 11 09:06:31 PDT 2015


Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
 tests/kms_cursor_crc.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

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)
-- 
2.1.0



More information about the Intel-gfx mailing list