From 53f82c5aadbb15585754bfacf3237093eccdb2ce Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 2 Oct 2004 16:39:09 +0000 Subject: added support for GL_ARB_draw_buffers --- src/mesa/drivers/glide/fxdd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/glide/fxdd.c') diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c index 3af3b7cd3d..74d0dc008c 100644 --- a/src/mesa/drivers/glide/fxdd.c +++ b/src/mesa/drivers/glide/fxdd.c @@ -1944,8 +1944,8 @@ fx_check_IsInHardware(GLcontext * ctx) return FX_FALLBACK_STENCIL; } - if (ctx->Color._DrawDestMask != DD_FRONT_LEFT_BIT && - ctx->Color._DrawDestMask != DD_BACK_LEFT_BIT) { + if (ctx->Color._DrawDestMask[0] != DD_FRONT_LEFT_BIT && + ctx->Color._DrawDestMask[0] != DD_BACK_LEFT_BIT) { return FX_FALLBACK_DRAW_BUFFER; } -- cgit v1.2.3