removed old d3d stuff