Fixing d3d color packing
Merge pull request #4 from kengonakajima/d3d_optim

Fixing d3d color packing