diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c index 44abd60..fd5f96f 100644 --- a/src/vrend_renderer.c +++ b/src/vrend_renderer.c @@ -2115,7 +2115,7 @@ int vrend_create_shader(struct vrend_context *ctx, uint32_t handle, const struct pipe_stream_output_info *so_info, const char *shd_text, uint32_t offlen, uint32_t num_tokens, - int type, uint32_t pkt_length) + uint32_t type, uint32_t pkt_length) { struct vrend_shader_selector *sel; int ret_handle; diff --git a/src/vrend_renderer.h b/src/vrend_renderer.h index b78fba9..79fe081 100644 --- a/src/vrend_renderer.h +++ b/src/vrend_renderer.h @@ -109,7 +109,7 @@ int vrend_create_shader(struct vrend_context *ctx, uint32_t handle, const struct pipe_stream_output_info *stream_output, const char *shd_text, uint32_t offlen, uint32_t num_tokens, - int type, uint32_t pkt_length); + uint32_t type, uint32_t pkt_length); void vrend_bind_shader(struct vrend_context *ctx, uint32_t type,