Commit 7cbc4f63 authored by Erik Faye-Lund 's avatar Erik Faye-Lund

zink: move set_active_query_state-stub to zink_query.c

parent 1fed57e7
......@@ -655,11 +655,6 @@ zink_set_framebuffer_state(struct pipe_context *pctx,
}
}
static void
zink_set_active_query_state(struct pipe_context *pctx, boolean enable)
{
}
static void
zink_set_blend_color(struct pipe_context *pctx,
const struct pipe_blend_color *color)
......@@ -1410,7 +1405,6 @@ zink_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags)
ctx->base.set_framebuffer_state = zink_set_framebuffer_state;
ctx->base.set_stencil_ref = zink_set_stencil_ref;
ctx->base.set_clip_state = zink_set_clip_state;
ctx->base.set_active_query_state = zink_set_active_query_state;
ctx->base.set_blend_color = zink_set_blend_color;
ctx->base.set_sample_mask = zink_set_sample_mask;
......
......@@ -150,6 +150,11 @@ zink_get_query_result(struct pipe_context *pctx,
return TRUE;
}
static void
zink_set_active_query_state(struct pipe_context *pctx, boolean enable)
{
}
void
zink_context_query_init(struct pipe_context *pctx)
{
......@@ -158,4 +163,5 @@ zink_context_query_init(struct pipe_context *pctx)
pctx->begin_query = zink_begin_query;
pctx->end_query = zink_end_query;
pctx->get_query_result = zink_get_query_result;
pctx->set_active_query_state = zink_set_active_query_state;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment