summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2008-11-13 18:32:44 -0800
committerEric Anholt <[email protected]>2008-11-21 13:23:46 +0800
commit2adef553f2549e30b4a1894e7f9077ac339ea61c (patch)
tree601ee2811966abbb36250509988b16ffd6f268de /src/mesa/drivers/dri/i915
parentb6bb5e09e0ad1f61f96c65bbc870bd493df12f1a (diff)
i915: Don't overwrite i915's Viewport function from generic code.
Instead, have i965 and i915 both call the generic function from their Viewport.
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r--src/mesa/drivers/dri/i915/intel_state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_state.c b/src/mesa/drivers/dri/i915/intel_state.c
index 09aa62da361..4aa43e5f3ab 100644
--- a/src/mesa/drivers/dri/i915/intel_state.c
+++ b/src/mesa/drivers/dri/i915/intel_state.c
@@ -267,6 +267,8 @@ intelViewport(GLcontext * ctx,
GLint x, GLint y, GLsizei width, GLsizei height)
{
intelCalcViewport(ctx);
+
+ intel_viewport(ctx, x, y, width, height);
}
static void