diff options
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_queryobj.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_queryobj.c b/src/mesa/drivers/dri/i965/brw_queryobj.c index bd3f5738eba..f667f55b6bf 100644 --- a/src/mesa/drivers/dri/i965/brw_queryobj.c +++ b/src/mesa/drivers/dri/i965/brw_queryobj.c @@ -480,9 +480,6 @@ brw_emit_query_begin(struct brw_context *brw) struct gl_context *ctx = &brw->ctx; struct brw_query_object *query = brw->query.obj; - if (brw->hw_ctx) - return; - /* Skip if we're not doing any queries, or we've already recorded the * initial query value for this batchbuffer. */ @@ -507,9 +504,6 @@ brw_emit_query_end(struct brw_context *brw) { struct brw_query_object *query = brw->query.obj; - if (brw->hw_ctx) - return; - if (!brw->query.begin_emitted) return; |