X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fattrib.h;h=90951306fd5c60b8a0a93793f687ecfee637133a;hb=651441c16fd2fa0eede876d70997cbfd646ef289;hp=d59d31b9be9e4a13fa0e88e75d6de944e4d701a5;hpb=9032d2a13ecd019206a48767d9205c0aafa7cca2;p=mesa.git diff --git a/src/mesa/main/attrib.h b/src/mesa/main/attrib.h index d59d31b9be9..90951306fd5 100644 --- a/src/mesa/main/attrib.h +++ b/src/mesa/main/attrib.h @@ -1,6 +1,5 @@ /* * Mesa 3-D graphics library - * Version: 7.1 * * Copyright (C) 1999-2007 Brian Paul All Rights Reserved. * @@ -17,24 +16,21 @@ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR + * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. */ #ifndef ATTRIB_H #define ATTRIB_H -#include "compiler.h" #include "glheader.h" -#include "mfeatures.h" struct _glapi_table; struct gl_context; -#if FEATURE_attrib_stack - extern void GLAPIENTRY _mesa_PushAttrib( GLbitfield mask ); @@ -47,29 +43,11 @@ _mesa_PushClientAttrib( GLbitfield mask ); extern void GLAPIENTRY _mesa_PopClientAttrib( void ); -extern void -_mesa_init_attrib_dispatch(struct _glapi_table *disp); - -#else /* FEATURE_attrib_stack */ - -static INLINE void -_mesa_PushClientAttrib( GLbitfield mask ) -{ - ASSERT_NO_FEATURE(); -} - -static INLINE void -_mesa_PopClientAttrib( void ) -{ - ASSERT_NO_FEATURE(); -} - -static INLINE void -_mesa_init_attrib_dispatch(struct _glapi_table *disp) -{ -} +extern void GLAPIENTRY +_mesa_ClientAttribDefaultEXT( GLbitfield mask ); -#endif /* FEATURE_attrib_stack */ +extern void GLAPIENTRY +_mesa_PushClientAttribDefaultEXT( GLbitfield mask ); extern void _mesa_init_attrib( struct gl_context *ctx );