From 69fb8f3caee3e4e732dcf4b18a4fc2668e96c632 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 1 Mar 2017 14:52:46 -0700 Subject: svga: s/unsigned/pipe_prim_type/ And add some default switch cases to silence compiler warnings. Reviewed-by: Charmaine Lee --- src/gallium/drivers/svga/svga_context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/svga/svga_context.h') diff --git a/src/gallium/drivers/svga/svga_context.h b/src/gallium/drivers/svga/svga_context.h index 02aa666154c..40966e9b52e 100644 --- a/src/gallium/drivers/svga/svga_context.h +++ b/src/gallium/drivers/svga/svga_context.h @@ -293,7 +293,7 @@ struct svga_state unsigned num_samplers[PIPE_SHADER_TYPES]; unsigned num_sampler_views[PIPE_SHADER_TYPES]; unsigned num_vertex_buffers; - unsigned reduced_prim; + enum pipe_prim_type reduced_prim; struct { unsigned flag_1d; -- cgit v1.2.3