summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/swrast/s_tritemp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_tritemp.h b/src/mesa/swrast/s_tritemp.h
index b05cfbb275f..c09f1eddf0d 100644
--- a/src/mesa/swrast/s_tritemp.h
+++ b/src/mesa/swrast/s_tritemp.h
@@ -785,7 +785,7 @@ static void NAME(GLcontext *ctx, const SWvertex *v0,
const GLfixed fx = FixedCeil(fsx); /* no fractional part */
const GLfixed adjx = (GLinterp) (fx - eLeft->fx0); /* SCALED! */
#endif
- const GLinterp adjy = eLeft->adjy; /* SCALED! */
+ const GLinterp adjy = (GLinterp) eLeft->adjy; /* SCALED! */
GLint idxOuter;
#if TRIANGLE_WALK_DOUBLE
GLdouble dxOuter;