diff options
author | Brian Paul <[email protected]> | 2006-10-11 22:21:55 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-10-11 22:21:55 +0000 |
commit | 8a5871a98c23ce1a1d893b681f59dc8c42228dd1 (patch) | |
tree | 80adfa732d431f2e1adb5b89621503399c3da326 /src/mesa/swrast/s_zoom.c | |
parent | 55fa6a2fdbc9108f2d435b70cefb58e77bba903a (diff) |
use GLvoid * for _swrast_write_zoomed_rgb/rgba_span() functions
Diffstat (limited to 'src/mesa/swrast/s_zoom.c')
-rw-r--r-- | src/mesa/swrast/s_zoom.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/mesa/swrast/s_zoom.c b/src/mesa/swrast/s_zoom.c index eb44c88b076..29b8df41b7e 100644 --- a/src/mesa/swrast/s_zoom.c +++ b/src/mesa/swrast/s_zoom.c @@ -343,20 +343,18 @@ zoom_span( GLcontext *ctx, GLint imgX, GLint imgY, const SWspan *span, void -_swrast_write_zoomed_rgba_span( GLcontext *ctx, GLint imgX, GLint imgY, - const SWspan *span, - CONST GLchan rgba[][4]) +_swrast_write_zoomed_rgba_span(GLcontext *ctx, GLint imgX, GLint imgY, + const SWspan *span, const GLvoid *rgba) { - zoom_span(ctx, imgX, imgY, span, (const GLvoid *) rgba, GL_RGBA); + zoom_span(ctx, imgX, imgY, span, rgba, GL_RGBA); } void _swrast_write_zoomed_rgb_span(GLcontext *ctx, GLint imgX, GLint imgY, - const SWspan *span, - CONST GLchan rgb[][3]) + const SWspan *span, const GLvoid *rgb) { - zoom_span(ctx, imgX, imgY, span, (const GLvoid *) rgb, GL_RGB); + zoom_span(ctx, imgX, imgY, span, rgb, GL_RGB); } |