diff options
author | Alan Hourihane <[email protected]> | 2003-12-08 17:26:59 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2003-12-08 17:26:59 +0000 |
commit | 1cb5d2e01a756ed1d7d10c0e0c70849b0d19fac9 (patch) | |
tree | eb9b123ac1729f493e865540dfb7e51912c50063 /src/mesa/drivers/dri/ffb/ffb_bitmap.c | |
parent | 8ed323166978145afaa10651039e473367d78a63 (diff) |
some changes for SOLO build
Diffstat (limited to 'src/mesa/drivers/dri/ffb/ffb_bitmap.c')
-rw-r--r-- | src/mesa/drivers/dri/ffb/ffb_bitmap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/ffb/ffb_bitmap.c b/src/mesa/drivers/dri/ffb/ffb_bitmap.c index 8c94bde36fa..7263e838134 100644 --- a/src/mesa/drivers/dri/ffb/ffb_bitmap.c +++ b/src/mesa/drivers/dri/ffb/ffb_bitmap.c @@ -33,6 +33,9 @@ #include "image.h" #include "macros.h" +/* Compute ceiling of integer quotient of A divided by B: */ +#define CEILING( A, B ) ( (A) % (B) == 0 ? (A)/(B) : (A)/(B)+1 ) + #undef FFB_BITMAP_TRACE static void |