Hello !
Is it correct that SDL_LoadBMP always loads
the Image from Disk into a SWSurface ?
So the only way to get this Image then
into a HWSurface is to create one
with SDL_CreateRGBSurface and blit it into it ?
CU
Hello !
Is it correct that SDL_LoadBMP always loads
the Image from Disk into a SWSurface ?
So the only way to get this Image then
into a HWSurface is to create one
with SDL_CreateRGBSurface and blit it into it ?
CU
Yes.On August 14, 2005 07:09 am, Torsten Giebl wrote:
Hello !
Is it correct that SDL_LoadBMP always loads
the Image from Disk into a SWSurface ?So the only way to get this Image then
into a HWSurface is to create one
with SDL_CreateRGBSurface and blit it into it ?
Hello !
As HWSurfaces can be also in a different format
or color depth, i must use SDL_DisplayFormat
on HWSurfaces too ?
CU> On August 14, 2005 07:09 am, Torsten Giebl wrote:
Hello !
Is it correct that SDL_LoadBMP always loads
the Image from Disk into a SWSurface ?So the only way to get this Image then
into a HWSurface is to create one with SDL_CreateRGBSurface and blit it
into it ?Yes.
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl