ecere/gfx/3D: Updates to Direct3D driver to not crash on bump maps / cube maps