diff options
author | Brian Paul <[email protected]> | 2017-03-01 14:52:46 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-03-02 10:11:19 -0700 |
commit | 69fb8f3caee3e4e732dcf4b18a4fc2668e96c632 (patch) | |
tree | 6b5609c5f20fb6f9ed5359cd59c19869996c0189 /src/gallium/drivers/svga/svga_context.h | |
parent | a9ff377d401419aaa100e9257bda94e6d7e87c7f (diff) |
svga: s/unsigned/pipe_prim_type/
And add some default switch cases to silence compiler warnings.
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_context.h')
-rw-r--r-- | src/gallium/drivers/svga/svga_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |