summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/image.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-03-21 00:48:53 +0000
committerBrian Paul <[email protected]>2000-03-21 00:48:53 +0000
commitae40595b6943d41dfad0e9b500d5db70b2ad8c6e (patch)
tree0f28842927e44dbcd7c3097abb5db607ab4e18a8 /src/mesa/main/image.h
parent8a4014c6fbc1ee3ac487ab10e3b073c62f62b85e (diff)
added _mesa_image_row_stride()
Diffstat (limited to 'src/mesa/main/image.h')
-rw-r--r--src/mesa/main/image.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/main/image.h b/src/mesa/main/image.h
index 252363c8da2..758213995df 100644
--- a/src/mesa/main/image.h
+++ b/src/mesa/main/image.h
@@ -1,4 +1,4 @@
-/* $Id: image.h,v 1.4 2000/03/13 18:31:51 brianp Exp $ */
+/* $Id: image.h,v 1.5 2000/03/21 00:48:53 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -61,6 +61,11 @@ gl_pixel_addr_in_image( const struct gl_pixelstore_attrib *packing,
GLint img, GLint row, GLint column );
+extern GLint
+_mesa_image_row_stride( const struct gl_pixelstore_attrib *packing,
+ GLint width, GLenum format, GLenum type );
+
+
extern void
_mesa_unpack_polygon_stipple( const GLubyte *pattern, GLuint dest[32],
const struct gl_pixelstore_attrib *unpacking );