X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Flyr_std%2Fsupersample.cpp;h=608a242162e1aa3021585561a11e150173c80188;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=9f762b80a45df3400d8d935ee94ce8ea9e04425f;hpb=8ef042c40521681cea99944097c4f90a5ac6cf74;p=synfig.git diff --git a/synfig-core/trunk/src/modules/lyr_std/supersample.cpp b/synfig-core/trunk/src/modules/lyr_std/supersample.cpp index 9f762b8..608a242 100644 --- a/synfig-core/trunk/src/modules/lyr_std/supersample.cpp +++ b/synfig-core/trunk/src/modules/lyr_std/supersample.cpp @@ -1,6 +1,6 @@ /* === S Y N F I G ========================================================= */ /*! \file supersample.cpp -** \brief Template Header +** \brief Implementation of the "Super Sample" layer ** ** $Id$ ** @@ -170,7 +170,7 @@ SuperSample::accelerated_render(Context context,Surface *surface,int quality, co else pen.put_value(Color::alpha()); } - if(y&31==0 && cb) + if((y&31)==0 && cb) { if(!stagetwo.amount_complete(y,surface->get_h())) return false; @@ -193,7 +193,7 @@ SuperSample::accelerated_render(Context context,Surface *surface,int quality, co temp_pen.dec_y(v); pen.put_value(pool*multiplier); } - if(y&31==0 && cb) + if((y&31)==0 && cb) { if(!stagetwo.amount_complete(y,surface->get_h())) return false;