Hello,
just a question: if a surface is created and then
DisplayFormatAlpha’ed and new operations are done on the surface (like
SDL_SetAlpha, blitted over…) is it necessary to DisplayFormatAlpha again
(in order to keep the format) or the former format is respected?
Thank you++++++++++++++++++++++++++++++++
ALBERT FERNANDEZ MARSAL
CIRSA INTERACTIVE CORP. SL
Analista senior y programador
++++++++++++++++++++++++++++++++
just a question: if a surface is created and then
DisplayFormatAlpha’ed and new operations are done on the surface (like
SDL_SetAlpha, blitted over…) is it necessary to DisplayFormatAlpha again
(in order to keep the format) or the former format is respected?
AFAIK surfaces retain their format unless you specifically change it. So
no, once you do SDL_DisplayFormatAlpha on a surface, it should keep its
format.
--Gabriel--
Gabriel Gambetta
Mystery Studio - http://www.mysterystudio.com
Gabriel on Graphics - http://gabrielongraphics.blogspot.com