Remove some unneeded/unused D3D9 stuff.