From 4bdcfe50f8886e43714f9b7edd25cbff19e6a97d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 17 Apr 2000 17:57:04 +0000 Subject: dynamically allocate color table data, uses less memory --- src/mesa/main/colortab.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/colortab.h') 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 @@ -32,6 +32,13 @@ #include "types.h" +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, -- cgit v1.2.3