[SDL] SDL_SetAlpha-bug?

Juhana Lehtiniemi lehtini2 at cc.tut.fi
Mon Feb 4 10:27:00 PST 2002


If I set SDL_SRCALPHA | SDL_RLEACCEL with SDL_SetAlpha, I see nothing on
the screen.  If I set SDL_SetColorKey after that alpha, it works just
fine(and also the colorkey has an effect).  Then I moved the
SDL_SetColorKey before the SDL_SetAlpha, and it didn't work then. So here
are the combination I tried:

working:

	SDL_SetAlpha
	SDL_SetColorKey

not-working:

	SDL_SetColorKey
	SDL_SetAlpha

or

	SDL_SetAlpha


What could be my problem here?  Some flag I missed?






More information about the SDL mailing list