diff options
author | Zack Rusin <[email protected]> | 2007-10-29 08:35:08 -0400 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2007-10-29 16:14:10 +0000 |
commit | a70c5e37f1c2e43738469e4799ad2b9e7c604782 (patch) | |
tree | b7b9f043bf4053bb7d6eb5f9e08ab1c4b612008e /src/mesa/pipe/i915simple | |
parent | 25b17b213b7ba0d1b93ec37211504ee489944ce8 (diff) |
Remove typedefs from enums.
typedefs are rather evil, remove them and use the enum
keyword explicitely.
Diffstat (limited to 'src/mesa/pipe/i915simple')
-rw-r--r-- | src/mesa/pipe/i915simple/i915_context.h | 2 | ||||
-rw-r--r-- | src/mesa/pipe/i915simple/i915_state_derived.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/i915simple/i915_context.h b/src/mesa/pipe/i915simple/i915_context.h index 5d312286f60..5c748ea896c 100644 --- a/src/mesa/pipe/i915simple/i915_context.h +++ b/src/mesa/pipe/i915simple/i915_context.h @@ -130,7 +130,7 @@ struct i915_depth_stencil_state { struct i915_rasterizer_state { int light_twoside : 1; unsigned st; - interp_mode color_interp; + enum interp_mode color_interp; unsigned LIS4; unsigned LIS7; diff --git a/src/mesa/pipe/i915simple/i915_state_derived.c b/src/mesa/pipe/i915simple/i915_state_derived.c index 95f705929e3..ed1521fcce2 100644 --- a/src/mesa/pipe/i915simple/i915_state_derived.c +++ b/src/mesa/pipe/i915simple/i915_state_derived.c @@ -44,7 +44,7 @@ static void calculate_vertex_layout( struct i915_context *i915 ) { const struct pipe_shader_state *fs = i915->fs; - const interp_mode colorInterp = i915->rasterizer->color_interp; + const enum interp_mode colorInterp = i915->rasterizer->color_interp; struct vertex_info vinfo; uint front0 = 0, back0 = 0, front1 = 0, back1 = 0; boolean needW = 0; |