[SDL] new empty surface
koenig at v-i-t.de
Mon Jul 8 13:06:00 PDT 2002
How can i get an new empty surface of a size?
I made a variable SDL_Surface* menu.
I want it to be 100x50 to blit buttons on it and then later blit the
whole menu surface to the screen.
I tried SDL_ConvertSurface, but than i couldn't change the size.
I tried SDL_CreateRGBSurface, but this semme to complicated for me. Such
an long function just to make a surface?
Isn't there a function to create a surface of the screen's format but
with differnt size?
More information about the SDL