From: Aapo Tahkola Date: Tue, 1 Nov 2005 18:12:58 +0000 (+0000) Subject: Fix broken tnl stage. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a546abc8da5e03d4caf4c044726ba364d3688b32;p=mesa.git Fix broken tnl stage. --- diff --git a/src/mesa/drivers/dri/r300/r300_context.c b/src/mesa/drivers/dri/r300/r300_context.c index 56b1f49affa..a67d800fe60 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