diff options
author | José Fonseca <jrfonseca@tungstengraphics.com> | 2007-10-03 12:29:00 +0100 |
---|---|---|
committer | José Fonseca <jrfonseca@tungstengraphics.com> | 2007-10-03 12:36:57 +0100 |
commit | b40712e509532ae664a8520f750311f720f25b8c (patch) | |
tree | 077de2fc297f2c5bb3438bff9710a60e5e5594e2 /src/glitz_pixel.c | |
parent | 2af4c3cbf2e8554a582d03ccf3792bf72068aea0 (diff) |
Protect the REGION macros to avoid conflicts when used inside X server.
Diffstat (limited to 'src/glitz_pixel.c')
-rw-r--r-- | src/glitz_pixel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glitz_pixel.c b/src/glitz_pixel.c index d27b1d5..ca03585 100644 --- a/src/glitz_pixel.c +++ b/src/glitz_pixel.c @@ -1049,7 +1049,7 @@ glitz_set_pixels (glitz_surface_t *dst, /* avoid context switch in this case */ if (!dst->attached && TEXTURE_ALLOCATED (&dst->texture) && - !REGION_NOTEMPTY (&dst->texture_damage)) + !GLITZ_REGION_NOTEMPTY (&dst->texture_damage)) { dst->drawable->backend->push_current (dst->drawable, dst, GLITZ_ANY_CONTEXT_CURRENT, |