diff options
author | Brian Paul <[email protected]> | 2000-03-27 18:56:26 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-03-27 18:56:26 +0000 |
commit | de5c19d139f010cf08c05af440ee3c7e5241cead (patch) | |
tree | dc6510d9107b2b9d55f6681fc79dca9719a31a7c /src/mesa/main/texutil.h | |
parent | 021a525616bef2bafc8f60edc193b975ed2b0efa (diff) |
added _mesa_unconvert_teximage()
Diffstat (limited to 'src/mesa/main/texutil.h')
-rw-r--r-- | src/mesa/main/texutil.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mesa/main/texutil.h b/src/mesa/main/texutil.h index afc6833c449..0e180af2b77 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 |