Hi!
I want to flip a surface, with per-pixel alpha values. Currently, I’m flipping
the surface by blitting it’s lines in the “wrong order”, and the alpha values
get lost, of course. Is there a way to flip the surface without using
surface.pixels?
Thanks, Karl.
Hi!
I want to flip a surface, with per-pixel alpha values. How can I do this? (I
asked similar question a few days ago, but I didn’t get an answer)
Thanks, Karl.
Hi!
I want to flip a surface, with per-pixel alpha values. How can I do this? (I
asked similar question a few days ago, but I didn’t get an answer)
Flip only works on the current display mode, and I don’t believe the display
modes support alpha. What exactly do you mean?
See ya!
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec
Hi!
I want to flip a surface, with per-pixel alpha values. Currently, I’m flipping
the surface by blitting it’s lines in the “wrong order”, and the alpha values
get lost, of course. Is there a way to flip the surface without using
surface.pixels?
Oh, I see - you want to invert a surface with alpha.
I don’t see why memcpy()'ing the lines around would make it lose alpha info?
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec