All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] kms_cursor_crc: Move comment to the appropriate place
@ 2015-05-11 16:06 Damien Lespiau
  0 siblings, 0 replies; only message in thread
From: Damien Lespiau @ 2015-05-11 16:06 UTC (permalink / raw)
  To: intel-gfx

Signed-off-by: Damien Lespiau <damien.lespiau@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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-05-11 16:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-11 16:06 [PATCH i-g-t] kms_cursor_crc: Move comment to the appropriate place Damien Lespiau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.