else
(*surface)[y][x]=source.cubic_sample(u,v);
}
- if(y&31==0 && cb)
+ if((y&31)==0 && cb)
{
if(!stagetwo.amount_complete(y,surface->get_h()))
return false;
else
(*surface)[y][x]=source.linear_sample(u,v);
}
- if(y&31==0 && cb)
+ if((y&31)==0 && cb)
{
if(!stagetwo.amount_complete(y,surface->get_h()))
return false;
//pen.set_value(source[v][u]);
(*surface)[y][x]=source[floor_to_int(v)][floor_to_int(u)];
}
- if(y&31==0 && cb)
+ if((y&31)==0 && cb)
{
if(!stagetwo.amount_complete(y,surface->get_h()))
return false;