mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-05 20:24:01 +01:00
Fixy fix
This commit is contained in:
1 parent
da65af832a
commit
8d23c5ecfb
1 file changed
+2
-2
@@ -415,8 +415,8 @@ void TextureCacheD3D11::ApplyTextureFramebuffer(VirtualFramebuffer *framebuffer,
|
||||
context_->PSSetShaderResources(0, 1, &nullTexture); // In case the target was used in the last draw call. Happens in Sega Rally.
|
||||
draw_->BindFramebufferAsRenderTarget(depalFBO, { Draw::RPAction::DONT_CARE, Draw::RPAction::DONT_CARE, Draw::RPAction::DONT_CARE }, "ApplyTextureFramebuffer_DepalShader");
|
||||
// BindAsClutTexture(clutTexture);
|
||||
context_->PSSetShaderResources(TEX_SLOT_CLUT, 1, &clutTexture);
|
||||
context_->PSSetSamplers(3, 1, &stockD3D11.samplerPoint2DWrap);
|
||||
context_->PSSetShaderResources(1, 1, &clutTexture);
|
||||
context_->PSSetSamplers(1, 1, &stockD3D11.samplerPoint2DWrap);
|
||||
draw_->BindFramebufferAsTexture(framebuffer->fbo, 0, depth ? Draw::FB_DEPTH_BIT : Draw::FB_COLOR_BIT, 0);
|
||||
context_->PSSetSamplers(0, 1, &stockD3D11.samplerPoint2DWrap);
|
||||
|
||||
|
||||
Reference in new issue
Block a user