Józef Kucia : d3d11: Allow to pass NULL as device to D3D11CreateDevice.