From de5c19d139f010cf08c05af440ee3c7e5241cead Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 27 Mar 2000 18:56:26 +0000 Subject: added _mesa_unconvert_teximage() --- src/mesa/main/texutil.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/texutil.h') diff --git a/src/mesa/main/texutil.h b/src/mesa/main/texutil.h index afc6833c44..0e180af2b7 100644 --- a/src/mesa/main/texutil.h +++ b/src/mesa/main/texutil.h @@ -1,4 +1,4 @@ -/* $Id: texutil.h,v 1.1 2000/03/24 20:54:21 brianp Exp $ */ +/* $Id: texutil.h,v 1.2 2000/03/27 18:56:26 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -58,5 +58,13 @@ _mesa_convert_teximage(MesaIntTexFormat dstFormat, const struct gl_pixelstore_attrib *packing); +extern void +_mesa_unconvert_teximage(MesaIntTexFormat srcFormat, + GLint srcWidth, GLint srcHeight, + const GLvoid *srcImage, + GLsizei dstWidth, GLsizei dstHeight, + GLenum dstFormat, GLubyte *dstImage); + + #endif -- cgit v1.2.3