(XDK) XDK D3D driver cleanups