OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
096dd54
)
Disable tnl programs when doing software vertex programs. compiz with its texrect...
author
Aapo Tahkola
<aet@rasterburn.org>
Sun, 19 Mar 2006 21:17:14 +0000
(21:17 +0000)
committer
Aapo Tahkola
<aet@rasterburn.org>
Sun, 19 Mar 2006 21:17:14 +0000
(21:17 +0000)
src/mesa/drivers/dri/r300/r300_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_state.c
b/src/mesa/drivers/dri/r300/r300_state.c
index
728ff40
..
95bace9
100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_state.c
+++ b/
src/mesa/drivers/dri/r300/r300_state.c
@@
-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;