summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-11-13 18:32:44 -0800
committerEric Anholt <eric@anholt.net>2008-11-21 13:23:46 +0800
commit2adef553f2549e30b4a1894e7f9077ac339ea61c (patch)
tree601ee2811966abbb36250509988b16ffd6f268de /src/mesa/drivers/dri/i965
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/i965')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index e2bc08a6cb..1d6ac2cea6 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -71,6 +71,8 @@ static void brwInitDriverFunctions( struct dd_function_table *functions )
brwInitFragProgFuncs( functions );
brwInitProgFuncs( functions );
brw_init_queryobj_functions(functions);
+
+ functions->Viewport = intel_viewport;
}