diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-04-21 14:06:50 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-04-21 14:06:50 +0000 |
commit | 49c973dbce3815e34eb7648d75d5d0f2240b817b (patch) | |
tree | 18e3b3508ec40afd3fb1e8bd6195c95a9eeb0be2 | |
parent | 67c444b66faaccba93740cd9ba9cbb013c8e859b (diff) |
use INDEX8_SPAN_ARGS (Phil Brown)
-rw-r--r-- | src/mesa/drivers/x11/xm_span.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/mesa/drivers/x11/xm_span.c b/src/mesa/drivers/x11/xm_span.c index bb2ca7f1ab..f8aa89e439 100644 --- a/src/mesa/drivers/x11/xm_span.c +++ b/src/mesa/drivers/x11/xm_span.c @@ -1,8 +1,8 @@ /* * Mesa 3-D graphics library - * Version: 3.5 + * Version: 5.0.2 * - * 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"), @@ -3366,9 +3366,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 = (XMesaContext) ctx->DriverCtx; if (mask) { @@ -3390,9 +3388,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 = (XMesaContext) ctx->DriverCtx; GLubyte *dst = PIXELADDR1( xmesa->xm_buffer,x,y); |