message: Always create RTV for wrapped swapchain buffers even if wrapper exists
  * This can happen if the application calls ResizeBuffers without releasing all
  references - the texture is not recreated but we destroyed the RTV, so we need
  to create the RTV again.
diff: @@ -1642,19 +1642,19 @@ IUnknown *WrappedID3D11Device::WrapSwapchainBuffer(IDXGISwapper *swapper, DXGI_F
  // need to flush pending dead now so we don't find a 'dead' wrapper below
  FlushPendingDead();
  + WrappedID3D11Texture2D1 *pTex = NULL;
  +
  if(GetResourceManager()->HasWrapper((ID3D11DeviceChild *)realSurface))
  {
  - ID3D11Texture2D *tex =
  - (ID3D11Texture2D *)GetResourceManager()->GetWrapper((ID3D11DeviceChild *)realSurface);
  - tex->AddRef();
  + pTex =
  + (WrappedID3D11Texture2D1 *)GetResourceManager()->GetWrapper((ID3D11DeviceChild *)realSurface);
  + pTex->AddRef();
  realSurface->Release();
  -
  - return tex;
  }
  -
  - WrappedID3D11Texture2D1 *pTex =
  - new WrappedID3D11Texture2D1((ID3D11Texture2D *)realSurface, this, TEXDISPLAY_UNKNOWN);
  + else
  + {
  + pTex = new WrappedID3D11Texture2D1((ID3D11Texture2D *)realSurface, this, TEXDISPLAY_UNKNOWN);
  SetDebugName(pTex, "Swap Chain Backbuffer");
  @@ -1689,8 +1689,9 @@ IUnknown *WrappedID3D11Device::WrapSwapchainBuffer(IDXGISwapper *swapper, DXGI_F
  record->AddChunk(scope.Get());
  }
  + }
  - if(buffer == 0 && IsCaptureMode(m_State))
  + if(buffer == 0 && IsCaptureMode(m_State) && m_SwapChains[swapper] == NULL)
  {
  ID3D11RenderTargetView *rtv = NULL;
  HRESULT hr = m_pDevice->CreateRenderTargetView(UNWRAP(WrappedID3D11Texture2D1, pTex), NULL, &rtv);
  