diff options
| author | TellowKrinkle <tellowkrinkle@gmail.com> | 2025-10-30 20:44:45 -0500 |
|---|---|---|
| committer | TellowKrinkle <tellowkrinkle@gmail.com> | 2025-10-30 20:50:17 -0500 |
| commit | 21ac489d575662091be107fab0d807392b1e9fdf (patch) | |
| tree | 485b087c068e6adc0bc3bb82dc47005f19d6d934 /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | d065f1ae1228203b354c35ca853f36fa45a59c43 (diff) | |
VideoCommon: Fix render to texture in wrong layout
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index 46f571df30..f057c4f23d 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -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 |
