summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorGareth Hughes <gareth@valinux.com>2001-03-28 21:36:31 +0000
committerGareth Hughes <gareth@valinux.com>2001-03-28 21:36:31 +0000
commit16a8e986cebae6560d00992b6b9f54549e1d03c6 (patch)
tree7cd0d5527effe3b5a15ef5832bd82309ee604133 /src/mesa/main/mtypes.h
parentd082417daeb3f8a35a490eb44b6c88463289fa5d (diff)
- Restore texImage->IntFormat.
- Fix FX driver texture image conversions.
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 6ecb33d32e..32bf65c3f5 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1,4 +1,4 @@
-/* $Id: mtypes.h,v 1.34 2001/03/28 20:40:51 gareth Exp $ */
+/* $Id: mtypes.h,v 1.35 2001/03/28 21:36:31 gareth Exp $ */
/*
* Mesa 3-D graphics library
@@ -804,6 +804,7 @@ struct gl_texture_image {
* GL_INTENSITY, GL_RGB, GL_RGBA,
* GL_COLOR_INDEX or GL_DEPTH_COMPONENT only.
*/
+ GLint IntFormat; /* Internal format as given by the user */
GLuint Border; /* 0 or 1 */
GLuint Width; /* = 2^WidthLog2 + 2*Border */
GLuint Height; /* = 2^HeightLog2 + 2*Border */