I have a small code like this:
var
rtv_in, rtv_out: ID3D11RenderTargetView;
dsv_in, dsv_out: ID3D11DepthStencilView;
begin
//... some code here to setup rtv_in and dsv_in;
TCustomDX11Context.SharedContext.OMSetRenderTargetViews(1, rtv_in, dsv_in);
TCustomDX11Context.SharedContext.OMGetRenderTargetView(1, rtv_out, dsv_out);
after this line rtv_out and dsv_out returns nil. But if I use some other DirectX translation (other than Winapi.D3D11) with some changes (like using PID3D11RenderTargetView instead and etc); it works fine.
Am I using this wrong or is there a problem in the API translation?