From 6dc85575000127630489b407c50a4b3ea87c9acb Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 17 Jul 2003 13:43:59 +0000 Subject: Merge Jose's documentation and core Mesa changes from embedded branch --- src/mesa/main/eval.h | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/eval.h') diff --git a/src/mesa/main/eval.h b/src/mesa/main/eval.h index 2e4f5227e4..525835c7d5 100644 --- a/src/mesa/main/eval.h +++ b/src/mesa/main/eval.h @@ -1,3 +1,12 @@ +/** + * \file eval.h + * Eval operations. + * + * \if subset + * (No-op) + * + * \endif + */ /* * Mesa 3-D graphics library @@ -30,8 +39,10 @@ #include "mtypes.h" +#if _HAVE_FULL_GL -extern void _mesa_init_eval( void ); +extern void _mesa_init_eval( GLcontext *ctx ); +extern void _mesa_free_eval_data( GLcontext *ctx ); extern GLuint _mesa_evaluator_components( GLenum target ); @@ -104,5 +115,14 @@ _mesa_GetMapfv( GLenum target, GLenum query, GLfloat *v ); extern void _mesa_GetMapiv( GLenum target, GLenum query, GLint *v ); +#else + +/** No-op */ +#define _mesa_init_eval( c ) ((void)0) + +/** No-op */ +#define _mesa_free_eval_data( c ) ((void)0) + +#endif #endif -- cgit v1.2.3