mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
darwin: Use clientattrib
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
80b280db88
commit
163901bc7f
3 changed files with 3 additions and 3 deletions
|
|
@ -20,7 +20,7 @@ BUILD_DIR=builds
|
|||
|
||||
all: $(BUILD_DIR)/libGL.1.2.dylib
|
||||
|
||||
OBJECTS=glxext.o glxcmds.o glx_pbuffer.o glx_query.o glxcurrent.o glxextensions.o \
|
||||
OBJECTS=clientattrib.o glxext.o glxcmds.o glx_pbuffer.o glx_query.o glxcurrent.o glxextensions.o \
|
||||
appledri.o apple_glx_context.o apple_glx.o pixel.o \
|
||||
compsize.o apple_visual.o apple_cgl.o glxreply.o glcontextmodes.o \
|
||||
apple_xgl_api.o apple_glx_drawable.o xfont.o apple_glx_pbuffer.o \
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef GLX_USE_APPLEGL
|
||||
static void
|
||||
do_enable_disable(GLenum array, GLboolean val)
|
||||
{
|
||||
|
|
@ -123,6 +124,7 @@ __indirect_glPopClientAttrib(void)
|
|||
return;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
__glFreeAttributeState(__GLXcontext * gc)
|
||||
|
|
|
|||
|
|
@ -539,9 +539,7 @@ __glXFreeContext(__GLXcontext * gc)
|
|||
XFree((char *) gc->version);
|
||||
if (gc->extensions)
|
||||
XFree((char *) gc->extensions);
|
||||
#ifndef GLX_USE_APPLEGL /* TODO: clientattrib */
|
||||
__glFreeAttributeState(gc);
|
||||
#endif
|
||||
XFree((char *) gc->buf);
|
||||
Xfree((char *) gc->client_state_private);
|
||||
XFree((char *) gc);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue