aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/queryobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/main/queryobj.c')
-rw-r--r--mesalib/src/mesa/main/queryobj.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/mesalib/src/mesa/main/queryobj.c b/mesalib/src/mesa/main/queryobj.c
index d5e2453e6..42c77bdb8 100644
--- a/mesalib/src/mesa/main/queryobj.c
+++ b/mesalib/src/mesa/main/queryobj.c
@@ -34,9 +34,6 @@
#include "main/dispatch.h"
-#if FEATURE_queryobj
-
-
/**
* Allocate a new query object. This is a fallback routine called via
* ctx->Driver.NewQueryObject().
@@ -155,7 +152,6 @@ get_query_binding_point(struct gl_context *ctx, GLenum target)
return &ctx->Query.CurrentTimerObject;
else
return NULL;
-#if FEATURE_EXT_transform_feedback
case GL_PRIMITIVES_GENERATED:
if (ctx->Extensions.EXT_transform_feedback)
return &ctx->Query.PrimitivesGenerated;
@@ -166,7 +162,6 @@ get_query_binding_point(struct gl_context *ctx, GLenum target)
return &ctx->Query.PrimitivesWritten;
else
return NULL;
-#endif
default:
return NULL;
}
@@ -734,9 +729,6 @@ _mesa_init_queryobj_dispatch(struct _glapi_table *disp)
}
-#endif /* FEATURE_queryobj */
-
-
/**
* Allocate/init the context state related to query objects.
*/