took out d3d stuff still left in