aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/queryobj.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/main/queryobj.h')
-rw-r--r--mesalib/src/mesa/main/queryobj.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/mesalib/src/mesa/main/queryobj.h b/mesalib/src/mesa/main/queryobj.h
index e7a133b59..0f662fb57 100644
--- a/mesalib/src/mesa/main/queryobj.h
+++ b/mesalib/src/mesa/main/queryobj.h
@@ -32,8 +32,6 @@
#include "main/hash.h"
-#if FEATURE_queryobj
-
static inline struct gl_query_object *
_mesa_lookup_query_object(struct gl_context *ctx, GLuint id)
{
@@ -48,26 +46,6 @@ _mesa_init_query_object_functions(struct dd_function_table *driver);
extern void
_mesa_init_queryobj_dispatch(struct _glapi_table *disp);
-#else /* FEATURE_queryobj */
-
-static inline struct gl_query_object *
-_mesa_lookup_query_object(struct gl_context *ctx, GLuint id)
-{
- return NULL;
-}
-
-static inline void
-_mesa_init_query_object_functions(struct dd_function_table *driver)
-{
-}
-
-static inline void
-_mesa_init_queryobj_dispatch(struct _glapi_table *disp)
-{
-}
-
-#endif /* FEATURE_queryobj */
-
extern void
_mesa_init_queryobj(struct gl_context *ctx);