[CODE]Easy surface blitting with exact x,y(SDL)

Posts 1–4 of 4 · Page 1 of 1
[CODE]Easy surface blitting with exact x,y(SDL)

Add SDL to the title somebody /
[php]void BlitXY(int x, int y, SDL_Surface *source, SDL_Surface *dest)
{
SDL_Rect xy;
xy.x = x;
xy.y = y;

SDL_BlitSurface(source,NULL,dest,&xy);
}[/php]
(Yah Kallisti I'm noob....) What is does?
Quote Originally Posted by Gab View Post
(Yah Kallisti I'm noob....) What is does?
...Blits the surface...
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us