summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-04-21 14:06:01 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-04-21 14:06:01 +0000
commite5db876329126ff799999223fcd0813c3e5ed95c (patch)
tree3d0caae08bd7b9cdc1d921275958dfed84502c50 /src/mesa
parenta0ef56fd15550b1cb9443daaa78a2962cf7997c8 (diff)
use INDEX8_SPAN_ARGS
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/x11/xm_span.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/mesa/drivers/x11/xm_span.c b/src/mesa/drivers/x11/xm_span.c
index ce3cd0401e..07fa5b6cec 100644
--- a/src/mesa/drivers/x11/xm_span.c
+++ b/src/mesa/drivers/x11/xm_span.c
@@ -1,10 +1,8 @@
-/* $Id: xm_span.c,v 1.20 2003/04/01 17:28:12 brianp Exp $ */
-
/*
* Mesa 3-D graphics library
* Version: 5.1
*
- * Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -3369,9 +3367,7 @@ static void write_span_index_ximage( INDEX_SPAN_ARGS )
/*
* Write a span of 8-bit CI pixels to a non 8-bit XImage.
*/
-static void write_span_index8_ximage( const GLcontext *ctx, GLuint n,
- GLint x, GLint y, const GLubyte index[],
- const GLubyte mask[] )
+static void write_span_index8_ximage( INDEX8_SPAN_ARGS )
{
const XMesaContext xmesa = XMESA_CONTEXT(ctx);
if (mask) {
@@ -3393,9 +3389,7 @@ static void write_span_index8_ximage( const GLcontext *ctx, GLuint n,
/*
* Write a span of 8-bit CI pixels to an 8-bit XImage.
*/
-static void write_span_index8_ximage8( const GLcontext *ctx, GLuint n,
- GLint x, GLint y, const GLubyte index[],
- const GLubyte mask[] )
+static void write_span_index8_ximage8( INDEX8_SPAN_ARGS )
{
const XMesaContext xmesa = XMESA_CONTEXT(ctx);
GLubyte *dst = PIXELADDR1( xmesa->xm_buffer,x,y);