d3dx9: Implement converting and copying surface data in D3DXLoadSurfaceFromMemory (review please)

Philip Nilsson pnilsson at nullref.se
Wed Aug 26 11:27:55 CDT 2009


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.



More information about the wine-devel mailing list