On Wed, Aug 26, 2009 at 12:10:36PM +0200, Tony Wasserka wrote:
- BYTE abits, rbits, gbits, bbits;
- BYTE ashift, rshift, gshift, bshift;
- DWORD amask, rmask, gmask, bmask;
If you make those into arrays you will be able to cut down on the code size, and the compiler might like it better.
I think it would be better to store this in surface.c since I can't think of anything else that would need this.