destroy __GLcontextModes structures. This eliminates the need for DRI
drivers to ever link with glcontextmodes.c.
../common/vblank.c \
../common/dri_util.c \
../common/xmlconfig.c \
- ../common/drirenderbuffer.c \
- ../common/glcontextmodes.c
+ ../common/drirenderbuffer.c
ifeq ($(WINDOW_SYSTEM),dri)
WINOBJ=../dri_client/dri.a
#include "dri_util.h"
#include "drm_sarea.h"
-#include "glcontextmodes.h"
#ifndef GLX_OML_sync_control
typedef GLboolean ( * PFNGLXGETMSCRATEOMLPROC) (__DRInativeDisplay *dpy, __DRIid drawable, int32_t *numerator, int32_t *denominator);
_mesa_free(psp->pDevPriv);
(void)drmClose(psp->fd);
if ( psp->modes != NULL ) {
- _gl_context_modes_destroy( psp->modes );
+ (*dri_interface->destroyContextModes)( psp->modes );
}
_mesa_free(psp);
}
../common/texmem.c \
../common/vblank.c \
../common/xmlconfig.c \
- ../common/dri_util.c \
- ../common/glcontextmodes.c
+ ../common/dri_util.c
DRIVER_SOURCES = \
radeon_screen.c \