summaryrefslogtreecommitdiff
path: root/src/glitz_region.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glitz_region.c')
-rw-r--r--src/glitz_region.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glitz_region.c b/src/glitz_region.c
index f853ef9..ff0aaed 100644
--- a/src/glitz_region.c
+++ b/src/glitz_region.c
@@ -29,7 +29,7 @@
#include "glitzint.h"
-#define REGION_ALLOC_CHUNK 16
+#define GLITZ_REGION_ALLOC_CHUNK 16
#define BOX_SUBSUMS_BOX(b1, b2) \
((b2)->x1 >= (b1)->x1 && \
@@ -146,7 +146,7 @@ glitz_region_union (glitz_region_t *region,
* Add box to region
*/
if (region->size < (region->n_box + 1)) {
- region->size += REGION_ALLOC_CHUNK;
+ region->size += GLITZ_REGION_ALLOC_CHUNK;
region->data = (void *) realloc (region->data,
sizeof (glitz_box_t) * region->size);
if (!region->data)