deepstone
diff src/scantmpl.h @ 28:11d14f688485
added clipping
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 22 Sep 2013 06:38:08 +0300 |
parents | 5ff8ce78059a |
children | 17a5107b6fa4 |
line diff
1.1 --- a/src/scantmpl.h Sun Sep 22 02:47:46 2013 +0300 1.2 +++ b/src/scantmpl.h Sun Sep 22 06:38:08 2013 +0300 1.3 @@ -133,7 +133,7 @@ 1.4 x1 = (int)fixed_round(vright[y].pos.x); 1.5 1.6 if(x1 < x0) { 1.7 - if(st->flags & MGL_CULL_FACE) { 1.8 + if(IS_ENABLED(st->flags, MGL_CULL_FACE)) { 1.9 return; 1.10 } 1.11 tmp = x0;