From b570a180dada9e54ff55905ff11ea882ad8cb57d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 20 Apr 2001 19:21:41 +0000 Subject: Minor fixes for Win32 (Karl Schultz). --- src/mesa/swrast/s_drawpix.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/swrast/s_drawpix.c') diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c index 8432fe3275..ea4fef7d53 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, -- cgit v1.2.3