From 80ac8d171ce5d20fb4b2fc125797694828758581 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 19 Mar 2002 16:48:06 +0000 Subject: [PATCH] don't set plane mask for xm_buffer->gc, it causes an accum buffer conformance problem --- src/mesa/drivers/x11/xm_dd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mesa/drivers/x11/xm_dd.c b/src/mesa/drivers/x11/xm_dd.c index 642aee8a229..1fdb716cba6 100644 --- a/src/mesa/drivers/x11/xm_dd.c +++ b/src/mesa/drivers/x11/xm_dd.c @@ -1,4 +1,4 @@ -/* $Id: xm_dd.c,v 1.30 2002/03/16 00:53:15 brianp Exp $ */ +/* $Id: xm_dd.c,v 1.31 2002/03/19 16:48:06 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -231,7 +231,6 @@ index_mask( GLcontext *ctx, GLuint mask ) else { m = (unsigned long) mask; } - XMesaSetPlaneMask( xmesa->display, xmesa->xm_buffer->gc, m ); XMesaSetPlaneMask( xmesa->display, xmesa->xm_buffer->cleargc, m ); } } @@ -257,7 +256,6 @@ color_mask(GLcontext *ctx, if (gmask) m |= GET_GREENMASK(xmesa->xm_visual); if (bmask) m |= GET_BLUEMASK(xmesa->xm_visual); } - XMesaSetPlaneMask( xmesa->display, xmesa->xm_buffer->gc, m ); XMesaSetPlaneMask( xmesa->display, xmesa->xm_buffer->cleargc, m ); } } -- 2.30.2