set direct x options if it exists