[SDL] SDL_RLEACCEL and its behavior

Pius II. PiusII at gmx.de
Wed Aug 29 23:28:08 PDT 2001


> Hi,
>  i tried to use SDL_RLEACCEL and i noticed that if i call
> SDL_SetAlpha(surface,SDL_RLEACCEL,0); then after it surface->flags doesn't
> contains SDL_RLEACCEL flag. Is it bug or my misunderstanding?

After all I know, the surface is being analyzed and converted upon the first
blitting. So you probably should do
SDL_SetAlpha(surface,SDL_RLEACCEL,0);
SDL_BlitSurface(surface,...);
and then check.

HTH,

Pius II.







More information about the SDL mailing list