tnl_dd: Silence "tnl_dd/t_dd_tritmp.h:292:3: warning: suggest braces around empty...
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 25 Aug 2011 23:55:18 +0000 (16:55 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 9 Sep 2011 19:01:52 +0000 (12:01 -0700)
src/mesa/tnl_dd/t_dd_tritmp.h

index 022f0c6c602b73cb45d5c2557c9e79c2a69d7f1f..cb1204d4209d3d13b369246cbf557069e7213a9f 100644 (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] );