[SDL] Re: Surface coordinates can't be less than zero?

Nick Stovall nsto135 at aol.com
Sun Nov 27 10:27:36 PST 2005


> Exactly - that's the result of the clipping operation, and that's what 
> SDL writes back into the destination rectangle. w and/or h should 
> alse be affected in this case, and if you hit the right or bottom 
> edge of the target, clipping should affect *only* w and/or h.

Oops, I read the previous question wrong. In any case, it SHOULD only affect w
or h, I'm guess the problem is that it's affecting the x- and y- coordinates as
well. 





More information about the SDL mailing list