Add graphics device and context in Direct3D 11