Revert "WIP D3D."

This reverts commit 07dcf53747413a79743e1326fe4619054ce69d1b.