summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-04-03 17:35:54 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-04-03 17:35:54 +0000
commitbc80faa7d940bb64421577994490b91a2e6b03de (patch)
treee9ffe18cc120c50d57d4b120c2d3071b9ba7974c /src
parenta9e2abdcfbb39d255ee0bf2a14cbae75068371c7 (diff)
another fix to clear_32bit_ximage()
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/x11/xm_dd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/x11/xm_dd.c b/src/mesa/drivers/x11/xm_dd.c
index 59c8e0cd79..0371d3a9cc 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.20 2001/04/03 16:19:54 brianp Exp $ */
+/* $Id: xm_dd.c,v 1.21 2001/04/03 17:35:54 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -702,7 +702,6 @@ clear_32bit_ximage( GLcontext *ctx, GLboolean all,
}
else {
register int i, j;
- register GLuint pixel = (GLuint) xmesa->clearpixel;
for (j=0;j<height;j++) {
register GLuint *ptr4 = PIXELADDR4( xmesa->xm_buffer, x, y+j );
for (i=0;i<width;i++) {