Gfxcolorwriteenable_x Flags Wrong
by Tom Spilman · in Torque Game Engine Advanced · 12/30/2004 (9:47 pm) · 2 replies
The flags for GFXCOLORWRITEENABLE_x were defined wrong. The code looks like this:
... But the blue and alpha values are incorrect. It should be:
Hope i all my bug reports don't bum you guys out. =)
#define GFXCOLORWRITEENABLE_RED 1 #define GFXCOLORWRITEENABLE_GREEN 2 #define GFXCOLORWRITEENABLE_BLUE 8 #define GFXCOLORWRITEENABLE_ALPHA 16
... But the blue and alpha values are incorrect. It should be:
#define GFXCOLORWRITEENABLE_RED 1 #define GFXCOLORWRITEENABLE_GREEN 2 #define GFXCOLORWRITEENABLE_BLUE 4 #define GFXCOLORWRITEENABLE_ALPHA 8
Hope i all my bug reports don't bum you guys out. =)
About the author
Tom is a programmer and co-owner of Sickhead Games, LLC.
Associate Kyle Carter