From: Chia-I Wu Date: Wed, 31 Mar 2010 04:56:45 +0000 (+0800) Subject: mesa: Add dummy _mesa_lookup_query_object to queryobj.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=278bca0db982065aeb61a208295e6994c021c9f0;p=mesa.git mesa: Add dummy _mesa_lookup_query_object to queryobj.h. This allows condrender.c to be compiled without FEATURE_queryobj. --- diff --git a/src/mesa/main/queryobj.h b/src/mesa/main/queryobj.h index ba8b5dd0029..b044c0d5d49 100644 --- a/src/mesa/main/queryobj.h +++ b/src/mesa/main/queryobj.h @@ -80,6 +80,12 @@ _mesa_init_queryobj_dispatch(struct _glapi_table *disp); #define _MESA_INIT_QUERYOBJ_FUNCTIONS(driver, impl) do { } while (0) +static INLINE struct gl_query_object * +_mesa_lookup_query_object(GLcontext *ctx, GLuint id) +{ + return NULL; +} + static INLINE void _mesa_init_query_object_functions(struct dd_function_table *driver) {