Module: Mesa
Branch: master
Commit: 278bca0db982065aeb61a208295e6994c021c9f0
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=278bca0db982065aeb61a208295e6994c021c9f0

Author: Chia-I Wu <o...@lunarg.com>
Date:   Wed Mar 31 12:56:45 2010 +0800

mesa: Add dummy _mesa_lookup_query_object to queryobj.h.

This allows condrender.c to be compiled without FEATURE_queryobj.

---

 src/mesa/main/queryobj.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/queryobj.h b/src/mesa/main/queryobj.h
index ba8b5dd..b044c0d 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)
 {

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to