diff options
author | Daniel Borca <[email protected]> | 2004-10-18 08:04:21 +0000 |
---|---|---|
committer | Daniel Borca <[email protected]> | 2004-10-18 08:04:21 +0000 |
commit | 1cfe1e8925f8e1b89df5330895255a038be7f122 (patch) | |
tree | 6b65a0bc966cb8ca95f82e3c3887d90437a77628 /src/mesa/main/texstore.h | |
parent | 8cd728f43639f0f0a1f9ad22ea00821b0ccd2b80 (diff) |
changed _mesa_rescale_teximage2d to allow rescaling of padded images
Diffstat (limited to 'src/mesa/main/texstore.h')
-rw-r--r-- | src/mesa/main/texstore.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mesa/main/texstore.h b/src/mesa/main/texstore.h index 85caa774fe5..89faf526698 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, |