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/attrib.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'src/mesa/main/attrib.h') diff --git a/src/mesa/main/attrib.h b/src/mesa/main/attrib.h index 722bbcf83f..8267624637 100644 --- a/src/mesa/main/attrib.h +++ b/src/mesa/main/attrib.h @@ -1,3 +1,13 @@ +/** + * \file attrib.h + * Attribute stacks. + * + * \if subset + * (No-op) + * + * \endif + */ + /* * Mesa 3-D graphics library * Version: 5.1 @@ -23,12 +33,16 @@ */ + #ifndef ATTRIB_H #define ATTRIB_H #include "mtypes.h" + +#if _HAVE_FULL_GL + extern void _mesa_PushAttrib( GLbitfield mask ); @@ -41,5 +55,14 @@ _mesa_PushClientAttrib( GLbitfield mask ); extern void _mesa_PopClientAttrib( void ); +extern void +_mesa_init_attrib( GLcontext *ctx ); + +#else + +/** No-op */ +#define _mesa_init_attrib( c ) ((void)0) + +#endif #endif -- cgit v1.2.3