summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-11-22 19:29:56 -0800
committerEric Anholt <[email protected]>2011-11-23 09:45:17 -0800
commit8d15268a61fe400668495e6cb42c4d15e8b17cbb (patch)
tree356683678a4a99ca3fd71ec06fc3bd60f4c881d1
parent87f12bb2d95236c7b025d1a8be56b5ab1683d702 (diff)
i915: Fix complete texturing regression since 27505a105a
I had notes to myself to test gen3 and gen4, and then I tested gen4 and called it good. Turns out I forgot to actually call the new function on gen3.
-rw-r--r--src/mesa/drivers/dri/i915/i915_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_context.c b/src/mesa/drivers/dri/i915/i915_context.c
index c5e589d8e6e..36563ef6f3f 100644
--- a/src/mesa/drivers/dri/i915/i915_context.c
+++ b/src/mesa/drivers/dri/i915/i915_context.c
@@ -164,6 +164,8 @@ i915CreateContext(int api,
return false;
}
+ intel_init_texture_formats(ctx);
+
_math_matrix_ctr(&intel->ViewportMatrix);
/* Initialize swrast, tnl driver tables: */