TextureCache: Add stereoscopy support for EFB to texture copies.

This commit is contained in:
Jules Blok committed 2014-12-14 13:28:47 +01:00
1 parent 3355d8086d
commit 4b3e784949
7 files changed
+67 -12

No files matched your search

@@ -208,7 +208,7 @@ void XFBSource::CopyEFB(float Gamma)
D3D::drawShadedTexQuad(FramebufferManager::GetEFBColorTexture()->GetSRV(), sourceRc.AsRECT(),
Renderer::GetTargetWidth(), Renderer::GetTargetHeight(),
PixelShaderCache::GetColorCopyProgram(true), VertexShaderCache::GetSimpleVertexShader(),
VertexShaderCache::GetSimpleInputLayout(),Gamma);
VertexShaderCache::GetSimpleInputLayout(), nullptr, Gamma);
D3D::context->OMSetRenderTargets(1, &FramebufferManager::GetEFBColorTexture()->GetRTV(),
FramebufferManager::GetEFBDepthTexture()->GetDSV());