From: Peter W. <tj...@us...> - 2001-09-06 07:06:35
|
Update of /cvsroot/alleg/allegro/tests In directory usw-pr-cvs1:/tmp/cvs-serv30452/tests Modified Files: test.c Log Message: Use clear_bitmap() instead of clear() Index: test.c =================================================================== RCS file: /cvsroot/alleg/allegro/tests/test.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- test.c 2001/08/22 16:58:39 1.15 +++ test.c 2001/09/06 07:06:32 1.16 @@ -1458,13 +1458,13 @@ tm = 0; _tm = 0; ct = 0; do { - clear(p); + clear_bitmap(p); ct++; if (next()) return; } while (tm < TIME_SPEED); destroy_bitmap(p); - sprintf(buf,"clear(320x200): %ld per second", ct/TIME_SPEED); + sprintf(buf,"clear_bitmap(320x200): %ld per second", ct/TIME_SPEED); textout(screen, font, buf, xoff+16, yoff+50, palette_color[15]); } |