From 1cfe1e8925f8e1b89df5330895255a038be7f122 Mon Sep 17 00:00:00 2001 From: Daniel Borca Date: Mon, 18 Oct 2004 08:04:21 +0000 Subject: changed _mesa_rescale_teximage2d to allow rescaling of padded images --- src/mesa/main/texstore.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/mesa/main/texstore.h') diff --git a/src/mesa/main/texstore.h b/src/mesa/main/texstore.h index 85caa774fe..89faf52669 100644 --- a/src/mesa/main/texstore.h +++ b/src/mesa/main/texstore.h @@ -213,10 +213,12 @@ _mesa_generate_mipmap(GLcontext *ctx, GLenum target, extern void -_mesa_rescale_teximage2d(GLuint bytesPerPixel, GLuint dstRowStride, - GLint srcWidth, GLint srcHeight, - GLint dstWidth, GLint dstHeight, - const GLvoid *srcImage, GLvoid *dstImage); +_mesa_rescale_teximage2d (GLuint bytesPerPixel, + GLuint srcStrideInPixels, + GLuint dstRowStride, + GLint srcWidth, GLint srcHeight, + GLint dstWidth, GLint dstHeight, + const GLvoid *srcImage, GLvoid *dstImage); extern void _mesa_upscale_teximage2d( GLsizei inWidth, GLsizei inHeight, -- cgit v1.2.3