[SDL] NewSDLprogrammer
David Olofson
david.olofson at reologica.se
Tue Mar 19 10:08:00 PST 2002
On Tuesday 19 March 2002 18:45, Jason Hoffoss wrote:
[...]
> //r->w = cursor->w;
> //r->h = cursor->h;
>
> You should uncomment these. Otherwise, they could be any value, and
> you therefore don't know how much of an area the blit below is going to
> draw.
from 'man SDL_BlitSurface':
"Only the position is used in the dstrect (the width and height are
ignored)."
and
"The final blit rectangle is saved in dstrect after all clipping is
performed (srcrect is not modified)."
//David Olofson --- Programmer, Reologica Instruments AB
.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
`----------------------------> http://www.linuxdj.com/maia -'
.- David Olofson -------------------------------------------.
| Audio Hacker - Open Source Advocate - Singer - Songwriter |
`-------------------------------------> http://olofson.net -'
More information about the SDL
mailing list