diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-04-17 17:57:04 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-04-17 17:57:04 +0000 |
commit | 4bdcfe50f8886e43714f9b7edd25cbff19e6a97d (patch) | |
tree | a3853f9e9100dd9492db094ab5a8fc59acb98e4f /src/mesa/main/colortab.h | |
parent | 0bb0c7cc85f8b41a36d8a7b723ac3d6755954879 (diff) |
dynamically allocate color table data, uses less memory
Diffstat (limited to 'src/mesa/main/colortab.h')
-rw-r--r-- | src/mesa/main/colortab.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mesa/main/colortab.h b/src/mesa/main/colortab.h index c707b978f5..9e976e0a26 100644 --- a/src/mesa/main/colortab.h +++ b/src/mesa/main/colortab.h @@ -1,4 +1,4 @@ -/* $Id: colortab.h,v 1.6 2000/04/12 00:27:37 brianp Exp $ */ +/* $Id: colortab.h,v 1.7 2000/04/17 17:57:04 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -33,6 +33,13 @@ extern void +_mesa_init_colortable( struct gl_color_table *p ); + +extern void +_mesa_free_colortable_data( struct gl_color_table *p ); + + +extern void _mesa_ColorTable( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table ); |