Using allegro I can create a Bitmap to draw just doing:
BITMAP* bmp = NULL; bmp = create_bitmap(width,height); // I don't remember exactly the parameters
I'm using SDL now, and i want create an
SDL_Surface to draw the game level (that is static). I create an
SDL_Surface, draw the tiles on it, then just blit this surface to the screen instead of drawing the tiles directly on screen (I believe this will require more processing);
Is there a way to create a blank
SDL_Surface as I did with Allegro to draw before I blit it?