From 6b406bf09dc18f4d84ccb636d043c990a30da4e1 Mon Sep 17 00:00:00 2001 From: Gareth Hughes Date: Sun, 18 Mar 2001 13:31:52 +0000 Subject: Remove old code, fix a few comments. --- src/mesa/main/texformat.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/mesa/main/texformat.c') diff --git a/src/mesa/main/texformat.c b/src/mesa/main/texformat.c index d7b8024161..57e653af21 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 ) -- cgit v1.2.3