tnl_dd: Silence "tnl_dd/t_dd_tritmp.h:292:3: warning: suggest braces around empty body in an ‘if’ statement"

This commit is contained in:
Ian Romanick
2011-08-25 16:55:18 -07:00
parent 0075510400
commit 076d609aa3
+2 -1
View File
@@ -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] );