From 076d609aa3336ce850fd2729faf31cc57a5fb090 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 25 Aug 2011 16:55:18 -0700 Subject: [PATCH] =?utf8?q?tnl=5Fdd:=20Silence=20"tnl=5Fdd/t=5Fdd=5Ftritmp.?= =?utf8?q?h:292:3:=20warning:=20suggest=20braces=20around=20empty=20body?= =?utf8?q?=20in=20an=20=E2=80=98if=E2=80=99=20statement"?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/mesa/tnl_dd/t_dd_tritmp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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] ); -- 2.30.2