summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-09-23 16:37:13 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-09-23 16:37:13 +0000
commit681b8c9d1ba06c8c82e687a5ced369b72e6b1eb9 (patch)
treebfe222c6384be8ef34eadddb44262c9bd9ddc1c2 /src/mesa/main/mtypes.h
parentb7808884bb26b6abdd44a03ff47885fb646686a5 (diff)
merge gl_texture_image RowStride from DRI 4.0.4
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 3b94967e08..d3c6c6196d 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1,4 +1,4 @@
-/* $Id: mtypes.h,v 1.87 2002/09/21 17:34:56 brianp Exp $ */
+/* $Id: mtypes.h,v 1.88 2002/09/23 16:37:13 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -839,6 +839,7 @@ struct gl_texture_image {
GLuint Width; /* = 2^WidthLog2 + 2*Border */
GLuint Height; /* = 2^HeightLog2 + 2*Border */
GLuint Depth; /* = 2^DepthLog2 + 2*Border */
+ GLuint RowStride; /* == Width unless IsClientData and padded */
GLuint Width2; /* = Width - 2*Border */
GLuint Height2; /* = Height - 2*Border */
GLuint Depth2; /* = Depth - 2*Border */