aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAapo Tahkola <[email protected]>2005-11-01 18:12:58 +0000
committerAapo Tahkola <[email protected]>2005-11-01 18:12:58 +0000
commita546abc8da5e03d4caf4c044726ba364d3688b32 (patch)
tree6edef9b360979f04c50feecc36e838b51c0c4ca1
parentf4fbda35b001aac22342596f4beafd9539f2ebb9 (diff)
Fix broken tnl stage.
-rw-r--r--src/mesa/drivers/dri/r300/r300_context.c3
1 files changed, 3 insertions, 0 deletions
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