mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 21:40:20 +01:00
Disable tnl programs when doing software vertex programs. compiz with its texrect and lighting needs was broken because of this.
This commit is contained in:
parent
096dd541bd
commit
070f280895
1 changed files with 4 additions and 0 deletions
|
|
@ -1554,6 +1554,10 @@ void r300UpdateShaders(r300ContextPtr rmesa)
|
|||
|
||||
ctx = rmesa->radeon.glCtx;
|
||||
|
||||
/* Disable tnl programs when doing software vertex programs.
|
||||
I can only hope this actually disables it at the right time. */
|
||||
ctx->_MaintainTnlProgram = hw_tcl_on;
|
||||
|
||||
if (rmesa->NewGLState && hw_tcl_on) {
|
||||
rmesa->NewGLState = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue