diff options
author | Nicolai Hähnle <[email protected]> | 2017-09-28 21:46:30 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-09-29 11:47:37 +0200 |
commit | c49400a03bbea1319aa2b78fd3abb56e22a8b31d (patch) | |
tree | b3fc7ae52193cc4d74315f55cd8089bc7a160d63 /src/gallium/drivers/r600/r600_pipe_common.h | |
parent | 5184a1e8eeddc322d4503b7964e750887372c60d (diff) |
r600: cleanup set_occlusion_query_state
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe_common.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe_common.h | 3 |
1 files changed, 0 insertions, 3 deletions
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. */ |