summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_encode.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-03-05 13:07:28 -0700
committerBrian Paul <[email protected]>2017-03-08 08:50:20 -0700
commitb0d39384307d979ba85de6c978661e9e58715bec (patch)
treecd359f83d4e7e140f177a02e6caa648de9b92d61 /src/gallium/drivers/virgl/virgl_encode.c
parent2b9ab605aabc748dd6171d8dbc1bc0e7d20e1f20 (diff)
gallium: s/uint/enum pipe_render_cond_flag/ for set_render_condition()
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_encode.c')
-rw-r--r--src/gallium/drivers/virgl/virgl_encode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/virgl/virgl_encode.c b/src/gallium/drivers/virgl/virgl_encode.c
index 85843b70094..cbe8d19c9d8 100644
--- a/src/gallium/drivers/virgl/virgl_encode.c
+++ b/src/gallium/drivers/virgl/virgl_encode.c
@@ -821,7 +821,7 @@ int virgl_encoder_get_query_result(struct virgl_context *ctx,
int virgl_encoder_render_condition(struct virgl_context *ctx,
uint32_t handle, boolean condition,
- uint mode)
+ enum pipe_render_cond_flag mode)
{
virgl_encoder_write_cmd_dword(ctx, VIRGL_CMD0(VIRGL_CCMD_SET_RENDER_CONDITION, 0, VIRGL_RENDER_CONDITION_SIZE));
virgl_encoder_write_dword(ctx->cbuf, handle);