diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-10-11 22:21:55 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-10-11 22:21:55 +0000 |
commit | 8a5871a98c23ce1a1d893b681f59dc8c42228dd1 (patch) | |
tree | 80adfa732d431f2e1adb5b89621503399c3da326 /src/mesa/swrast/s_copypix.c | |
parent | 55fa6a2fdbc9108f2d435b70cefb58e77bba903a (diff) |
use GLvoid * for _swrast_write_zoomed_rgb/rgba_span() functions
Diffstat (limited to 'src/mesa/swrast/s_copypix.c')
-rw-r--r-- | src/mesa/swrast/s_copypix.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/swrast/s_copypix.c b/src/mesa/swrast/s_copypix.c index 2654df3e48..be794e38e2 100644 --- a/src/mesa/swrast/s_copypix.c +++ b/src/mesa/swrast/s_copypix.c @@ -1,6 +1,6 @@ /* * Mesa 3-D graphics library - * Version: 6.5.1 + * Version: 6.5.2 * * Copyright (C) 1999-2006 Brian Paul All Rights Reserved. * @@ -226,7 +226,7 @@ copy_conv_rgba_pixels(GLcontext *ctx, GLint srcx, GLint srcy, span.end = width; if (zoom) { _swrast_write_zoomed_rgba_span(ctx, destx, desty, &span, - (CONST GLchan (*)[4])span.array->rgba); + span.array->rgba); } else { _swrast_write_rgba_span(ctx, &span); @@ -362,7 +362,7 @@ copy_rgba_pixels(GLcontext *ctx, GLint srcx, GLint srcy, span.end = width; if (zoom) { _swrast_write_zoomed_rgba_span(ctx, destx, desty, &span, - (CONST GLchan (*)[4]) span.array->rgba); + span.array->rgba); } else { _swrast_write_rgba_span(ctx, &span); @@ -605,7 +605,7 @@ copy_depth_pixels( GLcontext *ctx, GLint srcx, GLint srcy, if (fb->Visual.rgbMode) { if (zoom) _swrast_write_zoomed_rgba_span(ctx, destx, desty, &span, - (const GLchan (*)[4]) span.array->rgba); + span.array->rgba); else _swrast_write_rgba_span(ctx, &span); } |