Update from SharpDX official master.