add a windows phone d3d sample and make same change