summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/image.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-11-12 11:50:32 -0700
committerBrian Paul <brianp@vmware.com>2011-11-15 07:49:26 -0700
commitb098e1af1cdaea8767b8f1416469cdd02a9c39a9 (patch)
tree63b47320224b0c75e1f00a77277810fb1bc31b6c /src/mesa/main/image.c
parentbef4b42938c92fbd6540e81ea4829b0f1d0a6a8b (diff)
downloadexternal_mesa3d-b098e1af1cdaea8767b8f1416469cdd02a9c39a9.zip
external_mesa3d-b098e1af1cdaea8767b8f1416469cdd02a9c39a9.tar.gz
external_mesa3d-b098e1af1cdaea8767b8f1416469cdd02a9c39a9.tar.bz2
mesa: move CEILING() macro into macros.h
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/main/image.c')
-rw-r--r--src/mesa/main/image.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c
index 3b16d3d..3a6f01c 100644
--- a/src/mesa/main/image.c
+++ b/src/mesa/main/image.c
@@ -55,9 +55,6 @@
-/** Compute ceiling of integer quotient of A divided by B. */
-#define CEILING( A, B ) ( (A) % (B) == 0 ? (A)/(B) : (A)/(B)+1 )
-
/**
* \return GL_TRUE if type is packed pixel type, GL_FALSE otherwise.