projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac6728d
)
Don't let FragmentProgram._Active influence choice of vertex vs pixel
author
Keith Whitwell
<keith@tungstengraphics.com>
Wed, 11 May 2005 16:30:02 +0000
(16:30 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Wed, 11 May 2005 16:30:02 +0000
(16:30 +0000)
fog.
src/mesa/swrast/s_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_context.c
b/src/mesa/swrast/s_context.c
index 00c4ae4bc9c57ac1584090fe37397c37a613bc05..4a4d1b880a3ea2073a106042e600faf3c68f73b9 100644
(file)
--- a/
src/mesa/swrast/s_context.c
+++ b/
src/mesa/swrast/s_context.c
@@
-158,7
+158,7
@@
_swrast_update_fog_hint( GLcontext *ctx )
{
SWcontext *swrast = SWRAST_CONTEXT(ctx);
swrast->_PreferPixelFog = (!swrast->AllowVertexFog ||
- ctx->FragmentProgram._
Active ||
+ ctx->FragmentProgram._
Enabled || /* not _Active! */
(ctx->Hint.Fog == GL_NICEST &&
swrast->AllowPixelFog));
}