diff options
Diffstat (limited to 'src/mesa/drivers/dri/r600/r600_context.c')
-rw-r--r-- | src/mesa/drivers/dri/r600/r600_context.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r600/r600_context.c b/src/mesa/drivers/dri/r600/r600_context.c index 9b057ad1b5..bd537160f1 100644 --- a/src/mesa/drivers/dri/r600/r600_context.c +++ b/src/mesa/drivers/dri/r600/r600_context.c @@ -92,6 +92,7 @@ int hw_tcl_on = 1; #include "extension_helper.h" +extern const struct tnl_pipeline_stage *r700_pipeline[]; const struct dri_extension card_extensions[] = { /* *INDENT-OFF* */ @@ -310,7 +311,7 @@ GLboolean r600CreateContext(const __GLcontextModes * glVisual, /* Install the customized pipeline: */ _tnl_destroy_pipeline(ctx); - _tnl_install_pipeline(ctx, (const struct tnl_pipeline_stage **)(r600->chipobj.stages)); + _tnl_install_pipeline(ctx, r700_pipeline); /* Try and keep materials and vertices separate: */ |