From aaad687d510b3c933e4ca532e1c12ec723d33588 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 28 Feb 2004 19:34:05 +0000 Subject: replace color table FloatTable boolean with Type enum --- src/mesa/main/mtypes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/main/mtypes.h') diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 84fa39f261..18e1563102 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -252,8 +252,8 @@ struct gl_color_table { GLenum Format; /**< GL_ALPHA, GL_RGB, GL_RGB, etc */ GLenum IntFormat; GLuint Size; /**< number of entries (rows) in table */ - GLvoid *Table; /**< either GLfloat * or GLchan * */ - GLboolean FloatTable; /**< are entries stored as floats? */ + GLvoid *Table; /**< points to data of */ + GLenum Type; /**< GL_UNSIGNED_BYTE or GL_FLOAT */ GLubyte RedSize; GLubyte GreenSize; GLubyte BlueSize; -- cgit v1.2.3