Re: [AD] Patch for rotate.c

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sat, 2004-10-30 at 12:20 +0200, Sven Sandberg wrote:

> Sorry if I was unclear. What I meant was, the patch does what it was 
> intended to do, namely forgives the user for doing wrong (i.e., it 
> avoids ugly pixels when the user tries to draw outside the bitmap with 
> clipping turned off). I then questioned whether we should be that "nice" 
> to users. I think it would be good to also add an ASSERT that fails when 
> users try to draw outside the BITMAP with clipping turned off, so that 
> they can fix their programs. I attach a patch that does this. OK?
> 

But isn't the clip->right also used when clipping is turned on? So I
don't see how it can just be changed (and too lazy to read the source).

-- 
Elias Pschernig





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/