D1112: Device Must Be DX11

The device associated with the DXGI surface must be a D3D11 device.

   
Error Level Warning

 

Possible Causes

There was an attempt to use the CreateDxgiSurfaceRenderTarget with a DXGI surface created by a non-Direct3D11 device.