aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstate.c
diff options
context:
space:
mode:
authorGareth Hughes <[email protected]>2001-03-28 21:36:31 +0000
committerGareth Hughes <[email protected]>2001-03-28 21:36:31 +0000
commit16a8e986cebae6560d00992b6b9f54549e1d03c6 (patch)
tree7cd0d5527effe3b5a15ef5832bd82309ee604133 /src/mesa/main/texstate.c
parentd082417daeb3f8a35a490eb44b6c88463289fa5d (diff)
- Restore texImage->IntFormat.
- Fix FX driver texture image conversions.
Diffstat (limited to 'src/mesa/main/texstate.c')
-rw-r--r--src/mesa/main/texstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c
index 5e98965730a..398e23d0a89 100644
--- a/src/mesa/main/texstate.c
+++ b/src/mesa/main/texstate.c
@@ -1,4 +1,4 @@
-/* $Id: texstate.c,v 1.40 2001/03/28 20:40:51 gareth Exp $ */
+/* $Id: texstate.c,v 1.41 2001/03/28 21:36:31 gareth Exp $ */
/*
* Mesa 3-D graphics library
@@ -957,7 +957,7 @@ _mesa_GetTexLevelParameteriv( GLenum target, GLint level,
*params = img->Depth;
return;
case GL_TEXTURE_INTERNAL_FORMAT:
- *params = img->TexFormat->IntFormat;
+ *params = img->IntFormat;
return;
case GL_TEXTURE_BORDER:
*params = img->Border;