summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texformat.c
diff options
context:
space:
mode:
authorGareth Hughes <[email protected]>2001-03-18 13:31:52 +0000
committerGareth Hughes <[email protected]>2001-03-18 13:31:52 +0000
commit6b406bf09dc18f4d84ccb636d043c990a30da4e1 (patch)
tree057b15d6ae4560a2c8e1d4dea2c3b7135ba33e59 /src/mesa/main/texformat.c
parent2f9757f344a05fa0ecb758f8b6a8ee1d631b0478 (diff)
Remove old code, fix a few comments.
Diffstat (limited to 'src/mesa/main/texformat.c')
-rw-r--r--src/mesa/main/texformat.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mesa/main/texformat.c b/src/mesa/main/texformat.c
index d7b8024161f..57e653af216 100644
--- a/src/mesa/main/texformat.c
+++ b/src/mesa/main/texformat.c
@@ -1,4 +1,4 @@
-/* $Id: texformat.c,v 1.2 2001/03/18 08:53:49 gareth Exp $ */
+/* $Id: texformat.c,v 1.3 2001/03/18 13:31:52 gareth Exp $ */
/*
* Mesa 3-D graphics library
@@ -420,11 +420,10 @@ const struct gl_texture_format _mesa_null_texformat = {
-/*
- * Given an internal texture format enum or 1, 2, 3, 4 return the
- * corresponding _base_ internal format: GL_ALPHA, GL_LUMINANCE,
- * GL_LUMANCE_ALPHA, GL_INTENSITY, GL_RGB, or GL_RGBA.
- * Return -1 if invalid enum.
+/* Given an internal texture format or 1, 2, 3, 4 initialize the texture
+ * image structure's default format and type information. Drivers will
+ * initialize these fields accordingly if they override the default
+ * storage format.
*/
void _mesa_init_tex_format( GLcontext *ctx, GLenum internalFormat,
struct gl_texture_image *texImage )