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/fog.h | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'src/mesa/main/fog.h') diff --git a/src/mesa/main/fog.h b/src/mesa/main/fog.h index cd7f59cc6d..4a0417545b 100644 --- a/src/mesa/main/fog.h +++ b/src/mesa/main/fog.h @@ -1,3 +1,12 @@ +/** + * \file fog.h + * Fog operations. + * + * \if subset + * (No-op) + * + * \endif + */ /* * Mesa 3-D graphics library @@ -31,21 +40,27 @@ #include "mtypes.h" +#if _HAVE_FULL_GL extern void _mesa_Fogf(GLenum pname, GLfloat param); - extern void _mesa_Fogi(GLenum pname, GLint param ); - extern void _mesa_Fogfv(GLenum pname, const GLfloat *params ); - extern void _mesa_Fogiv(GLenum pname, const GLint *params ); +extern void _mesa_init_fog( GLcontext * ctx ); + +#else + +/** No-op */ +#define _mesa_init_fog( c ) ((void)0) + +#endif #endif -- cgit v1.2.3