Problems with Blitting

Hello everbody,

I’ve got a problem with SDL_BlitSurfaces. I got the error “Blit combination
not supported”. What does this mean? I try to blit a surface, which was
created by SDL_CreateRGBSurface(…) and SDL_ttf, on a surface which was
created with SDL_SetVideoMode(…).

Thanks for your help

Stephan

Do you use the same pixel format between all the surfaces ?

Hello everbody,

I’ve got a problem with SDL_BlitSurfaces. I got the error “Blit
combination> not supported”. What does this mean? I try to blit a surface, which was
created by SDL_CreateRGBSurface(…) and SDL_ttf, on a surface which was
created with SDL_SetVideoMode(…).

Thanks for your help

Stephan


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

You should try to solve this, applying SDL_DisplayFormat() (SDL_DisplayFormatAlpha()) to the surface before blitting.

Simon

sdl at libsdl.org schrieb am 30.04.03 10:10:24:>

Hello everbody,

I’ve got a problem with SDL_BlitSurfaces. I got the error “Blit combination
not supported”. What does this mean? I try to blit a surface, which was
created by SDL_CreateRGBSurface(…) and SDL_ttf, on a surface which was
created with SDL_SetVideoMode(…).

Thanks for your help

Stephan


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


UNICEF bittet um Spenden fur die Kinder im Irak! Hier online an
UNICEF spenden: https://spenden.web.de/unicef/special/?mc=021101

Simon Hengel wrote:

You should try to solve this, applying SDL_DisplayFormat() (SDL_DisplayFormatAlpha()) to the surface before blitting.

Simon

unfortunately that should be using the same functionality as his original blit…
the only thing that change is the new surface it makes, which is the same format as the screen.
as far as I know, this should solve nothing.
I’m more interested in what that error means, since I’ve never seen it.
perhaps a quick browse of the relevant source code will reveal all…–
-==-
Jon Atkins
http://jonatkins.org/