Mac Carbon VM 3.8.15b5 pending
tim Rowledge
tim at rowledge.org
Wed Mar 28 15:25:19 UTC 2007
>
> #ifndef MSB_FIRST
> #define RED_INDEX 0
> #define GREEN_INDEX 1
> #define BLUE_INDEX 2
> #define ALPHA_INDEX 3
> #else
> #define ALPHA_INDEX 0
> #define BLUE_INDEX 1
> #define GREEN_INDEX 2
> #define RED_INDEX 3
> #endif
That's not a particularly sensible bit of code. Not all systems mix
the r,g,b,a in the same order. Some probably don't support 'a'.
tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: ESC: Emulate Small Child
More information about the Squeak-dev
mailing list
|