summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-09-23 12:54:14 -0600
committerBrian Paul <[email protected]>2009-09-23 13:36:43 -0600
commitad935c3f4708417641dd3c257912ccce11485acc (patch)
treecc39ae6d7b2440f1d612a8c9d83a48ec71e40d33
parentbe66ff51ec98cf583044b3e53a49c41edd803134 (diff)
swrast: fix typo in partial derivatives parameter passing
-rw-r--r--src/mesa/swrast/s_fragprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_fragprog.c b/src/mesa/swrast/s_fragprog.c
index b71fb9eae97..144f78b024a 100644
--- 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;