projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be66ff5
)
swrast: fix typo in partial derivatives parameter passing
author
Brian Paul
<brianp@vmware.com>
Wed, 23 Sep 2009 18:54:14 +0000
(12:54 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 23 Sep 2009 19:36:43 +0000
(13:36 -0600)
src/mesa/swrast/s_fragprog.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_fragprog.c
b/src/mesa/swrast/s_fragprog.c
index b71fb9eae97c123e6fff76377ad38f99b7e0cb99..144f78b024acf4b2452de10653bc67fd4907c307 100644
(file)
--- a/
src/mesa/swrast/s_fragprog.c
+++ b/
src/mesa/swrast/s_fragprog.c
@@
-108,7
+108,7
@@
fetch_texel_deriv( GLcontext *ctx, const GLfloat texcoord[4],
lambda = _swrast_compute_lambda(texdx[0], texdy[0], /* ds/dx, ds/dy */
texdx[1], texdy[1], /* dt/dx, dt/dy */
- texdx[3], texdy[
2
], /* dq/dx, dq/dy */
+ texdx[3], texdy[
3
], /* dq/dx, dq/dy */
texW, texH,
texcoord[0], texcoord[1], texcoord[3],
1.0F / texcoord[3]) + lodBias;