[SDL] Transparancy drawing in 8 bit mode

Stefan Hendriks stefanhen83 at gmail.com
Thu Jul 5 23:00:59 PDT 2007


Hey,

Perhaps a very dumb question, but i will ask anyway:

I have set up my program in 8 bit mode. Yet i am able to draw a 16 bit
picture with transparancy, to draw a 'shadow' .

Basically i do:
- draw the transparancy (or is it transculent? excuse my english) 16
bit picture - the shadow
- draw the picture itself (8 bit) opaque.

This all seems to work well, but i wonder if this is just luck.

Is this ok, or will i get in trouble later on?

-- 
Stefan Hendriks
-----------------------
http://www.fundynamic.nl


More information about the SDL mailing list