diff options
author | Brian Paul <[email protected]> | 2004-08-25 15:59:48 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-08-25 15:59:48 +0000 |
commit | a6c423d95663cfd8601cf84e10e8e1b12fa6ef15 (patch) | |
tree | e4d68d47d99c2f747619829a488dd0b6ba5cf361 /src/mesa/swrast/s_triangle.c | |
parent | 866286936ac34070826382f1d1cd28b613dd4bd1 (diff) |
Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch 1015696)
Diffstat (limited to 'src/mesa/swrast/s_triangle.c')
-rw-r--r-- | src/mesa/swrast/s_triangle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c index 5c8d1ebe294..a1a629c18d2 100644 --- a/src/mesa/swrast/s_triangle.c +++ b/src/mesa/swrast/s_triangle.c @@ -927,7 +927,7 @@ fast_persp_span(GLcontext *ctx, struct sw_span *span, const GLuint *zRow = (const GLuint *) \ _swrast_zbuffer_address(ctx, span.x, span.y); \ for (i = 0; i < span.end; i++) { \ - if (span.z < zRow[i]) { \ + if ((GLuint)span.z < zRow[i]) { \ ctx->OcclusionResult = GL_TRUE; \ ctx->Occlusion.PassedCounter++; \ } \ |