You were adding -dx10? Not -d3d10? Can you try using -d3d10 and let me know if that helps?
Thank you,