projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c93b2a1
)
s/fog/attrib[FRAG_ATTRIB_FOGC][0]/
author
Brian
<brian@yutani.localnet.net>
Wed, 25 Apr 2007 04:32:41 +0000
(22:32 -0600)
committer
Brian
<brian@yutani.localnet.net>
Wed, 25 Apr 2007 04:32:41 +0000
(22:32 -0600)
src/mesa/tnl_dd/t_dd_vb.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl_dd/t_dd_vb.c
b/src/mesa/tnl_dd/t_dd_vb.c
index 629f328a4d17b42952da9d77b2d0710c14735a4a..6cdd1bc0313098b560a780dec4a19b9b73b3f89d 100644
(file)
--- a/
src/mesa/tnl_dd/t_dd_vb.c
+++ b/
src/mesa/tnl_dd/t_dd_vb.c
@@
-135,7
+135,7
@@
void TAG(translate_vertex)(GLcontext *ctx,
dst->specular[1] = src->v.specular.green;
dst->specular[2] = src->v.specular.blue;
- dst->
fog
= src->v.specular.alpha/255.0;
+ dst->
attrib[FRAG_ATTRIB_FOGC][0]
= src->v.specular.alpha/255.0;
if (HAVE_PTEX_VERTICES &&
((HAVE_TEX2_VERTICES && format == PROJ_TEX3_VERTEX_FORMAT) ||