CreateRGB and DisplayFormat question

is it nessesary to use SDL_DisplayDormat()
after SDL_CreateRGBSurface( GetVideoSurface )

in theory when creating RGBSurface but parameters are taken from VideoSurface SDL_CreateRGB should create surface of
the same format as display surface so DispalyFormat is not nessesary.

so?

@pamashoid_at_poczta

Sorry,

I did not understand your email…
Can you give some example ??

pamashoid at poczta.onet.pl wrote:> is it nessesary to use SDL_DisplayDormat()

after SDL_CreateRGBSurface( GetVideoSurface )

in theory when creating RGBSurface but parameters are taken from VideoSurface SDL_CreateRGB should create surface of
the same format as display surface so DispalyFormat is not nessesary.

so?

pamashoid at poczta.onet.pl


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl