On Wed, 18 Jul 2001, Stuffed Crust wrote:
> On Sat, Jul 14, 2001 at 11:47:44AM +0930, Alex Angas wrote:
> > Call stack is:
> > > lineColor(SDL_Surface * 0x008353c8, short 598, short 338, short 598, short
> > 401, unsigned int 0) line 422 + 6 bytes
>
> Okay, this is bogus. We're not clipping, so the scaling code is
> generating pixels outside the drawable area.
>
> If you look at the parameters, we're drawing a point at (598,401) which
> is outside the 640x400 window.
This is an obvious question, but..
Why is the function being sent coordinates outside the drawing window in
the first place? Does this happen a lot? If not, should a warning be added
when it does happen?
--
http://www.clock.org/~matt