summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_drawpix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/swrast/s_drawpix.c')
-rw-r--r--src/mesa/swrast/s_drawpix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c
index 8432fe32758..ea4fef7d53a 100644
--- a/src/mesa/swrast/s_drawpix.c
+++ b/src/mesa/swrast/s_drawpix.c
@@ -1,4 +1,4 @@
-/* $Id: s_drawpix.c,v 1.16 2001/04/10 15:25:45 brianp Exp $ */
+/* $Id: s_drawpix.c,v 1.17 2001/04/20 19:21:41 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -833,11 +833,11 @@ draw_rgba_pixels( GLcontext *ctx, GLint x, GLint y,
if (quickDraw) {
(*swrast->Driver.WriteRGBASpan)( ctx, width, x, y,
- (CONST GLchan (*)[]) rgba, NULL);
+ (CONST GLchan (*)[4]) rgba, NULL);
}
else if (zoom) {
_mesa_write_zoomed_rgba_span( ctx, width, x, y, zspan, 0,
- (CONST GLchan (*)[]) rgba, desty );
+ (CONST GLchan (*)[4]) rgba, desty );
}
else {
_mesa_write_rgba_span( ctx, (GLuint) width, x, y, zspan, 0,