mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-02-25 05:02:29 -05:00
VideoCommon: Fix render to texture in wrong layout
This commit is contained in:
@@ -2835,8 +2835,8 @@ void TextureCacheBase::CopyEFBToCacheEntry(RcTcacheEntry& entry, bool is_depth_c
|
||||
is_depth_copy ? g_framebuffer_manager->ResolveEFBDepthTexture(framebuffer_rect) :
|
||||
g_framebuffer_manager->ResolveEFBColorTexture(framebuffer_rect);
|
||||
|
||||
src_texture->FinishedRendering();
|
||||
g_gfx->BeginUtilityDrawing();
|
||||
src_texture->FinishedRendering();
|
||||
|
||||
// Fill uniform buffer.
|
||||
struct Uniforms
|
||||
@@ -2909,8 +2909,8 @@ void TextureCacheBase::CopyEFB(AbstractStagingTexture* dst, const EFBCopyParams&
|
||||
params.depth ? g_framebuffer_manager->ResolveEFBDepthTexture(framebuffer_rect) :
|
||||
g_framebuffer_manager->ResolveEFBColorTexture(framebuffer_rect);
|
||||
|
||||
src_texture->FinishedRendering();
|
||||
g_gfx->BeginUtilityDrawing();
|
||||
src_texture->FinishedRendering();
|
||||
|
||||
// Fill uniform buffer.
|
||||
struct Uniforms
|
||||
|
||||
Reference in New Issue
Block a user