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);