From db6273e0ddc5dbfcff27b8f75982bbf348810d31 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Mon, 13 Sep 2010 13:51:52 +0800 Subject: mesa: Remove unused _MESA_INIT_*_FUNCTIONS. They were intended to be used to build OpenGL ES only DRI drivers, but that never happened. --- src/mesa/main/queryobj.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/mesa/main/queryobj.h') diff --git a/src/mesa/main/queryobj.h b/src/mesa/main/queryobj.h index b044c0d5d4..8746ed15e9 100644 --- a/src/mesa/main/queryobj.h +++ b/src/mesa/main/queryobj.h @@ -33,17 +33,6 @@ #if FEATURE_queryobj -#define _MESA_INIT_QUERYOBJ_FUNCTIONS(driver, impl) \ - do { \ - (driver)->NewQueryObject = impl ## NewQueryObject; \ - (driver)->DeleteQuery = impl ## DeleteQuery; \ - (driver)->BeginQuery = impl ## BeginQuery; \ - (driver)->EndQuery = impl ## EndQuery; \ - (driver)->WaitQuery = impl ## WaitQuery; \ - (driver)->CheckQuery = impl ## CheckQuery; \ - } while (0) - - static INLINE struct gl_query_object * _mesa_lookup_query_object(GLcontext *ctx, GLuint id) { @@ -78,8 +67,6 @@ _mesa_init_queryobj_dispatch(struct _glapi_table *disp); #else /* FEATURE_queryobj */ -#define _MESA_INIT_QUERYOBJ_FUNCTIONS(driver, impl) do { } while (0) - static INLINE struct gl_query_object * _mesa_lookup_query_object(GLcontext *ctx, GLuint id) { -- cgit v1.2.3