[SDL] Re: how to use multiple surfaces?

Robert Harrison rharrison at hgfip.com
Tue Mar 11 03:40:01 PST 2003


I think you want to blit the editor surface to the screen surface.


#include "SDL.h"SDL_Rect myRect;

myrect.x = 0;
myrect.y = 0;
myrect.w = 400;
myrect.h = 480;

SDL_BlitSurface(sEditor *src, myRect, screen, myRect);








More information about the SDL mailing list