D3D: replace memset, fix warning

This commit is contained in:
mr.greywater
2015-02-12 14:45:05 +01:00
parent 442b7ba99c
commit c43da7e00b
2 changed files with 6 additions and 10 deletions

View File

@ -361,8 +361,8 @@ void XFBEncoder::Encode(u8* dst, u32 width, u32 height, const EFBRectangle& srcR
D3D::context->Unmap(m_outStage, 0);
// Restore API
g_renderer->RestoreAPIState();
D3D::stateman->Apply(); // force unbind efb texture as shader resource
D3D::context->OMSetRenderTargets(1,
&FramebufferManager::GetEFBColorTexture()->GetRTV(),
FramebufferManager::GetEFBDepthTexture()->GetDSV());