diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2004-02-28 19:34:05 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2004-02-28 19:34:05 +0000 |
commit | aaad687d510b3c933e4ca532e1c12ec723d33588 (patch) | |
tree | 225cc7a6350d32e04f92612bfc4b94d849820186 /src/mesa/main/mtypes.h | |
parent | d14da2d5aefaaef6afb864098c15c6fc3ca746ee (diff) |
replace color table FloatTable boolean with Type enum
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r-- | src/mesa/main/mtypes.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <Type> */ + GLenum Type; /**< GL_UNSIGNED_BYTE or GL_FLOAT */ GLubyte RedSize; GLubyte GreenSize; GLubyte BlueSize; |