summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-09-23 17:21:53 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-09-23 17:21:53 +0000
commit1a0bfdc8c1d798bf09daa3a07f9f873562f6c112 (patch)
tree3f9182f2f254ca82b8d3d9c5802448bf6a5a451e
parent681b8c9d1ba06c8c82e687a5ced369b72e6b1eb9 (diff)
fix bug in index_mask() (bug 609837)
-rw-r--r--src/mesa/drivers/x11/xm_dd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/xm_dd.c b/src/mesa/drivers/x11/xm_dd.c
index 8aa10ae805..81ca9e0044 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.34 2002/07/09 01:22:52 brianp Exp $ */
+/* $Id: xm_dd.c,v 1.35 2002/09/23 17:21:53 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -208,6 +208,7 @@ index_mask( GLcontext *ctx, GLuint mask )
m = (unsigned long) mask;
}
XMesaSetPlaneMask( xmesa->display, xmesa->xm_draw_buffer->cleargc, m );
+ XMesaSetPlaneMask( xmesa->display, xmesa->xm_draw_buffer->gc, m );
}
}