Mesa (mesa_7_6_branch): swrast: fix typo in partial derivatives parameter passing
Brian Paul
brianp at kemper.freedesktop.org
Thu Sep 24 16:54:16 UTC 2009
Module: Mesa
Branch: mesa_7_6_branch
Commit: ad935c3f4708417641dd3c257912ccce11485acc
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad935c3f4708417641dd3c257912ccce11485acc
Author: Brian Paul <brianp at vmware.com>
Date: Wed Sep 23 12:54:14 2009 -0600
swrast: fix typo in partial derivatives parameter passing
---
src/mesa/swrast/s_fragprog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/swrast/s_fragprog.c b/src/mesa/swrast/s_fragprog.c
index b71fb9e..144f78b 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;
More information about the mesa-commit
mailing list