summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-08-25 16:55:18 -0700
committerIan Romanick <[email protected]>2011-09-09 12:01:52 -0700
commit076d609aa3336ce850fd2729faf31cc57a5fb090 (patch)
treea9c64c05cd8ea1c3cfa9ddd4a2fafc4950373226 /src/mesa
parent0075510400e941c27636bd1b201777363283d0ae (diff)
tnl_dd: Silence "tnl_dd/t_dd_tritmp.h:292:3: warning: suggest braces around empty body in an ‘if’ statement"
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/tnl_dd/t_dd_tritmp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/tnl_dd/t_dd_tritmp.h b/src/mesa/tnl_dd/t_dd_tritmp.h
index 022f0c6c602..cb1204d4209 100644
--- a/src/mesa/tnl_dd/t_dd_tritmp.h
+++ b/src/mesa/tnl_dd/t_dd_tritmp.h
@@ -288,8 +288,9 @@ static void TAG(triangle)( struct gl_context *ctx, GLuint e0, GLuint e1, GLuint
VERT_Z_ADD(v[1], offset);
VERT_Z_ADD(v[2], offset);
}
- if (DO_UNFILLED)
+ if (DO_UNFILLED) {
RASTERIZE( GL_TRIANGLES );
+ }
if (DO_TWOSTENCIL && !HAVE_STENCIL_TWOSIDE && ctx->Stencil.TestTwoSide) {
SETUP_STENCIL(facing);
TRI( v[0], v[1], v[2] );