From 894844a8d956a0ee5f95836331dc318f49fdb845 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 21 Mar 2004 17:05:03 +0000 Subject: Implemented support for software-based AUX color buffers. Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc. --- src/mesa/drivers/allegro/amesa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/allegro') diff --git a/src/mesa/drivers/allegro/amesa.c b/src/mesa/drivers/allegro/amesa.c index 1462161781..92fd1b7068 100644 --- a/src/mesa/drivers/allegro/amesa.c +++ b/src/mesa/drivers/allegro/amesa.c @@ -117,10 +117,10 @@ static GLboolean set_buffer(GLcontext *ctx, GLframebuffer *buffer, GLuint bit) AMesaContext context = (AMesaContext)(ctx->DriverCtx); GLboolean ok = GL_TRUE; - if (bit == FRONT_LEFT_BIT) + if (bit == DD_FRONT_LEFT_BIT) context->Buffer->Active = context->Buffer->Screen; - else if (bit == BACK_LEFT) + else if (bit == DD_BACK_LEFT) { if (context->Buffer->Background) context->Buffer->Active = context->Buffer->Background; -- cgit v1.2.3