Corrected a copy and paste error in D3D.cs