From ef14e6fb961d9fd7d43d8e6258968f3e3bdd7305 Mon Sep 17 00:00:00 2001 From: Konrad Rzeszutek Wilk Date: Wed, 9 Feb 2011 15:22:39 -0500 Subject: [PATCH] dfbtest_fillrect: Make it do random rects across the full screen. --- root_image/tools/drfb_test/dfbtest_fillrect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root_image/tools/drfb_test/dfbtest_fillrect.c b/root_image/tools/drfb_test/dfbtest_fillrect.c index 7d69a01..7b102a5 100644 --- a/root_image/tools/drfb_test/dfbtest_fillrect.c +++ b/root_image/tools/drfb_test/dfbtest_fillrect.c @@ -183,7 +183,7 @@ main( int argc, char *argv[] ) while (true) { for (i=0; i<100000; i++) { dest->SetColor( dest, rand()%256, rand()%256, rand()%256, rand()%256 ); - dest->FillRectangle( dest, rand()%100, rand()%100, rand()%100, rand()%100 ); + dest->FillRectangle( dest, rand()%desc.width, rand()%desc.height, rand()%desc.width, rand()%desc.height ); } dest->Flip( dest, NULL, DSFLIP_NONE ); -- 2.39.5