SDL_SWSURFACE problem

hi

ihave created :
SDL_Surface img=SDL_CreateRGBSurface(SDL_SWSURFACE, w, h, 8, 0, 0, 0);

but img->flags equals to 0, why SDL_SWSURFACE flag is not set ?

regards, stan

because SDL_SWSURFACE is 0

SDL_video.h: #define SDL_SWSURFACE 0x00000000

El dv, 01-02-2002 a las 11:11, Stanislaw Stepien escribi?:

hi

ihave created :
SDL_Surface img=SDL_CreateRGBSurface(SDL_SWSURFACE, w, h, 8, 0, 0, 0);

but img->flags equals to 0, why SDL_SWSURFACE flag is not set ?

regards, stan_______________________________________________
SDL mailing list
SDL at libsdl.org

http://www.libsdl.org/mailman/listinfo/sdl

yes, i have noticed that already
thanks

so why is this flag for when it is 0 ?

stan.On Fri, Feb 01, 2002 at 11:39:19AM +0100, samsaga2 wrote:

because SDL_SWSURFACE is 0

SDL_video.h: #define SDL_SWSURFACE 0x00000000