From 15fc0f8d4ab78c4680e0ec8ea9d6af6dda656b69 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Mon, 6 Aug 2018 04:16:18 -0400 Subject: [PATCH] noop: implement set_window_rectangles Reviewed-by: Samuel Pitoiset --- src/gallium/auxiliary/driver_noop/noop_state.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/gallium/auxiliary/driver_noop/noop_state.c b/src/gallium/auxiliary/driver_noop/noop_state.c index 80cfae8ad49..11e2c173a37 100644 --- a/src/gallium/auxiliary/driver_noop/noop_state.c +++ b/src/gallium/auxiliary/driver_noop/noop_state.c @@ -247,6 +247,13 @@ static void noop_set_stream_output_targets(struct pipe_context *ctx, { } +static void noop_set_window_rectangles(struct pipe_context *ctx, + boolean include, + unsigned num_rectangles, + const struct pipe_scissor_state *rects) +{ +} + void noop_init_state_functions(struct pipe_context *ctx); void noop_init_state_functions(struct pipe_context *ctx) @@ -297,6 +304,7 @@ void noop_init_state_functions(struct pipe_context *ctx) ctx->set_stencil_ref = noop_set_stencil_ref; ctx->set_vertex_buffers = noop_set_vertex_buffers; ctx->set_viewport_states = noop_set_viewport_states; + ctx->set_window_rectangles = noop_set_window_rectangles; ctx->sampler_view_destroy = noop_sampler_view_destroy; ctx->surface_destroy = noop_surface_destroy; ctx->draw_vbo = noop_draw_vbo; -- 2.30.2