#93385 - TheRain - Tue Jul 18, 2006 10:15 pm
I am trying to set the alpha bit in a 16 bit color to 0 and I cannot think of the solution to this.
I have seen a lot of examples for setting it to 1 but I want to set it to 0.
people do things like u16 col=RGB15(12,34,25)|BIT(15);
but you cannot OR a zero on there if there is a one. Any idears??
I tried making a bit pointer to it, but could figure out how to do it.
I have seen a lot of examples for setting it to 1 but I want to set it to 0.
people do things like u16 col=RGB15(12,34,25)|BIT(15);
but you cannot OR a zero on there if there is a one. Any idears??
I tried making a bit pointer to it, but could figure out how to do it.