summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-03-31 12:56:45 +0800
committerChia-I Wu <[email protected]>2010-05-12 12:12:58 +0800
commit278bca0db982065aeb61a208295e6994c021c9f0 (patch)
treee2f6c9a43d2717ffb1e9c94a620f28d4d1b66929
parente76e17d569af924e187fa22facfb968667854cea (diff)
mesa: Add dummy _mesa_lookup_query_object to queryobj.h.
This allows condrender.c to be compiled without FEATURE_queryobj.
-rw-r--r--src/mesa/main/queryobj.h6
1 files changed, 6 insertions, 0 deletions
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)
{