summaryrefslogtreecommitdiff
path: root/src/mesa/main/texstore.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-05-02 14:30:46 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-05-02 14:30:46 +0000
commit80fc5ea53e0f1dac9df529965687c159acae057f (patch)
tree7dd652f29e141ae69871d413fa398081a03837da /src/mesa/main/texstore.h
parent883e7a5906b3e287520c1e52bdb76c47ba9bb4a5 (diff)
restored _mesa_rescale_teximage2d()
Diffstat (limited to 'src/mesa/main/texstore.h')
-rw-r--r--src/mesa/main/texstore.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/texstore.h b/src/mesa/main/texstore.h
index 47775a1bb8..d276ff94e4 100644
--- a/src/mesa/main/texstore.h
+++ b/src/mesa/main/texstore.h
@@ -225,4 +225,11 @@ _mesa_generate_mipmap(GLcontext *ctx, GLenum target,
const struct gl_texture_unit *texUnit,
struct gl_texture_object *texObj);
+
+extern void
+_mesa_rescale_teximage2d(GLuint bytesPerPixel, GLuint dstRowStride,
+ GLint srcWidth, GLint srcHeight,
+ GLint dstWidth, GLint dstHeight,
+ const GLvoid *srcImage, GLvoid *dstImage);
+
#endif