summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/pipe/i915simple/i915_state_derived.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/i915simple/i915_state_derived.c b/src/mesa/pipe/i915simple/i915_state_derived.c
index b1ea4f86c6..9bd0af0f53 100644
--- a/src/mesa/pipe/i915simple/i915_state_derived.c
+++ b/src/mesa/pipe/i915simple/i915_state_derived.c
@@ -137,7 +137,7 @@ static void calculate_vertex_layout( struct i915_context *i915 )
}
else {
vinfo->hwfmt[0] |= S4_VFMT_XYZ;
- vinfo->format[0] == FORMAT_3F;
+ vinfo->format[0] = FORMAT_3F;
}
/* Additional attributes required for setup: Just twosided