Ejemplo n.º 1
0
void SurfaceWrapper::blit(ISurface& other, int x, int y) {
    SDL_Rect pos = { x, y };
    SDL_BlitSurface(other.getNativeSurface(), nullptr, surface, &pos);
}