(D3D) Get rid of unused D3D macros