s/amiga_round_page/m68k_round_page/

This commit is contained in:
veego 1997-06-10 18:30:28 +00:00
parent 7097d0f71e
commit 2e45a6e310
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: grfabs_cc.c,v 1.15 1996/10/13 03:07:09 christos Exp $ */
/* $NetBSD: grfabs_cc.c,v 1.16 1997/06/10 18:30:28 veego Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -300,7 +300,7 @@ alloc_bitmap(width, height, depth, flags)
* n pages by less than another page, the user gets to write all over
* the entire page. Since you did not allocate up to a page boundry
* (or more) the user writes into someone elses memory. -ch */
total_size = amiga_round_page(plane_size * depth) + /* for length */
total_size = m68k_round_page(plane_size * depth) + /* for length */
(temp_size) + (array_size) + sizeof(bmap_t) +
NBPG; /* for alignment */
bm = alloc_chipmem(total_size);
@ -314,7 +314,7 @@ alloc_bitmap(width, height, depth, flags)
bm->flags = flags;
bm->plane = (u_char **) & bm[1];
bm->blit_temp = ((u_char *) bm->plane) + array_size;
bm->plane[0] = (u_char *) amiga_round_page((u_long)
bm->plane[0] = (u_char *) m68k_round_page((u_long)
(bm->blit_temp + temp_size));
if (flags & BMF_INTERLEAVED) {
bm->row_mod = bm->bytes_per_row * (depth - 1);