diff options
author | 2008-09-26 13:42:51 +0000 | |
---|---|---|
committer | 2008-09-26 13:42:51 +0000 | |
commit | 229d5989898bc1abae0b5beee4825d1a1c673be0 (patch) | |
tree | 447a6b28d527a46eb0a1ec2cacc8f4641aded023 /src/lib/util/bitmap.c | |
parent | 6d7ed9b5739db3476f5c5d6d21ab26a16b8d99db (diff) |
Cleanups and version bump.mame0127u5
Diffstat (limited to 'src/lib/util/bitmap.c')
-rw-r--r-- | src/lib/util/bitmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/util/bitmap.c b/src/lib/util/bitmap.c index 5e97ae437f7..efbb6d09e71 100644 --- a/src/lib/util/bitmap.c +++ b/src/lib/util/bitmap.c @@ -199,12 +199,12 @@ void bitmap_fill(bitmap_t *dest, const rectangle *cliprect, UINT32 color) else { UINT16 *destrow, *destrow0; - + /* Fill the first line the hard way */ destrow = BITMAP_ADDR16(dest, fill.min_y, 0); for (x = fill.min_x; x <= fill.max_x; x++) destrow[x] = (UINT16)color; - + /* For the other lines, just copy the first one */ destrow0 = BITMAP_ADDR16(dest, fill.min_y, fill.min_x); for (y = fill.min_y + 1; y <= fill.max_y; y++) @@ -230,7 +230,7 @@ void bitmap_fill(bitmap_t *dest, const rectangle *cliprect, UINT32 color) destrow = BITMAP_ADDR32(dest, fill.min_y, 0); for (x = fill.min_x; x <= fill.max_x; x++) destrow[x] = (UINT32)color; - + /* For the other lines, just copy the first one */ destrow0 = BITMAP_ADDR32(dest, fill.min_y, fill.min_x); for (y = fill.min_y + 1; y <= fill.max_y; y++) |