diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2001-04-20 16:46:04 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2001-04-20 16:46:04 +0000 |
commit | 1c85aa33321821b44bea83d3dee702ab4e05f406 (patch) | |
tree | 567f84afc974e718489a64860e7625eb18dcf0f2 /src/mesa/main/mtypes.h | |
parent | 3518a7950f3d1d57edb0a5d346c28bccade6fb61 (diff) | |
download | external_mesa3d-1c85aa33321821b44bea83d3dee702ab4e05f406.zip external_mesa3d-1c85aa33321821b44bea83d3dee702ab4e05f406.tar.gz external_mesa3d-1c85aa33321821b44bea83d3dee702ab4e05f406.tar.bz2 |
Fixed a texture conversion problem: sometimes need to produce an intermediate
texture image in the base internal format between user->Mesa format
conversion. See comments in texstore.c
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r-- | src/mesa/main/mtypes.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 42a8b28..cfeadf1 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1,4 +1,4 @@ -/* $Id: mtypes.h,v 1.39 2001/04/17 21:25:53 brianp Exp $ */ +/* $Id: mtypes.h,v 1.40 2001/04/20 16:46:04 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -749,7 +749,10 @@ typedef void (*FetchTexelFunc)( const struct gl_texture_image *texImage, struct gl_texture_format { GLint MesaFormat; /* One of the MESA_FORMAT_* values */ - GLenum IntFormat; /* Internal format as GL enum value */ + GLenum BaseFormat; /* Either GL_ALPHA, GL_INTENSITY, GL_LUMINANCE, + * GL_LUMINANCE_ALPHA, GL_RGB, GL_RGBA, + * GL_COLOR_INDEX or GL_DEPTH_COMPONENT. + */ GLenum Type; /* Internal type as GL enum value */ GLubyte RedBits; /* Bits per texel component */ |