From c49400a03bbea1319aa2b78fd3abb56e22a8b31d Mon Sep 17 00:00:00 2001 From: Nicolai Hähnle Date: Thu, 28 Sep 2017 21:46:30 +0200 Subject: r600: cleanup set_occlusion_query_state MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes a warning caused by the fork (note the change in the function signature): ../../../../../mesa-src/src/gallium/drivers/r600/r600_state_common.c: In function ‘r600_init_common_state_functions’: ../../../../../mesa-src/src/gallium/drivers/r600/r600_state_common.c:2974:36: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] rctx->b.set_occlusion_query_state = r600_set_occlusion_query_state; Reviewed-by: Marek Olšák --- src/gallium/drivers/r600/r600_pipe_common.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/gallium/drivers/r600/r600_pipe_common.h') diff --git a/src/gallium/drivers/r600/r600_pipe_common.h b/src/gallium/drivers/r600/r600_pipe_common.h index 39dd45aaceb..719efb9bbab 100644 --- a/src/gallium/drivers/r600/r600_pipe_common.h +++ b/src/gallium/drivers/r600/r600_pipe_common.h @@ -703,9 +703,6 @@ struct r600_common_context { void (*rebind_buffer)(struct pipe_context *ctx, struct pipe_resource *buf, uint64_t old_gpu_address); - /* Enable or disable occlusion queries. */ - void (*set_occlusion_query_state)(struct pipe_context *ctx, bool enable); - void (*save_qbo_state)(struct pipe_context *ctx, struct r600_qbo_state *st); /* This ensures there is enough space in the command stream. */ -- cgit v1.2.3