From a546abc8da5e03d4caf4c044726ba364d3688b32 Mon Sep 17 00:00:00 2001 From: Aapo Tahkola Date: Tue, 1 Nov 2005 18:12:58 +0000 Subject: Fix broken tnl stage. --- src/mesa/drivers/dri/r300/r300_context.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/mesa/drivers/dri/r300/r300_context.c b/src/mesa/drivers/dri/r300/r300_context.c index 56b1f49aff..a67d800fe6 100644 --- a/src/mesa/drivers/dri/r300/r300_context.c +++ b/src/mesa/drivers/dri/r300/r300_context.c @@ -267,6 +267,9 @@ GLboolean r300CreateContext(const __GLcontextModes * glVisual, ctx->Const.MaxLineWidth = R300_LINESIZE_MAX; ctx->Const.MaxLineWidthAA = R300_LINESIZE_MAX; + if (hw_tcl_on) + ctx->_MaintainTnlProgram = GL_TRUE; + #ifdef USER_BUFFERS /* Needs further modifications */ #if 0 -- cgit v1.2.3