summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple
diff options
context:
space:
mode:
authorZack Rusin <zack@tungstengraphics.com>2007-10-29 08:35:08 -0400
committerKeith Whitwell <keith@tungstengraphics.com>2007-10-29 16:14:10 +0000
commita70c5e37f1c2e43738469e4799ad2b9e7c604782 (patch)
treeb7b9f043bf4053bb7d6eb5f9e08ab1c4b612008e /src/mesa/pipe/i915simple
parent25b17b213b7ba0d1b93ec37211504ee489944ce8 (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.h2
-rw-r--r--src/mesa/pipe/i915simple/i915_state_derived.c2
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 5d312286f6..5c748ea896 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 95f705929e..ed1521fcce 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;