X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fcolortab.h;h=7b8df38a1417317354e9ec0f78ecd286bffa8489;hb=4fce0230fc3528be32562410bcddfc887c4d25a0;hp=ae46d8d236bed32d97145ab018428f2dee31bb13;hpb=9032d2a13ecd019206a48767d9205c0aafa7cca2;p=mesa.git diff --git a/src/mesa/main/colortab.h b/src/mesa/main/colortab.h index ae46d8d236b..7b8df38a141 100644 --- a/src/mesa/main/colortab.h +++ b/src/mesa/main/colortab.h @@ -32,9 +32,6 @@ #include "mfeatures.h" struct _glapi_table; -struct gl_color_table; - -#if FEATURE_colortable extern void GLAPIENTRY _mesa_ColorTable( GLenum target, GLenum internalformat, @@ -49,36 +46,5 @@ _mesa_ColorSubTable( GLenum target, GLsizei start, extern void _mesa_init_colortable_dispatch(struct _glapi_table *disp); -#else /* FEATURE_colortable */ - -static INLINE void GLAPIENTRY -_mesa_ColorTable( GLenum target, GLenum internalformat, - GLsizei width, GLenum format, GLenum type, - const GLvoid *table ) -{ - ASSERT_NO_FEATURE(); -} - -static INLINE void GLAPIENTRY -_mesa_ColorSubTable( GLenum target, GLsizei start, - GLsizei count, GLenum format, GLenum type, - const GLvoid *table ) -{ - ASSERT_NO_FEATURE(); -} - -static INLINE void -_mesa_init_colortable_dispatch(struct _glapi_table *disp) -{ -} - -#endif /* FEATURE_colortable */ - - -extern void -_mesa_init_colortable( struct gl_color_table *table ); - -extern void -_mesa_free_colortable_data( struct gl_color_table *table ); #endif /* COLORTAB_H */