From e0463cb1471e453d04291a3ca890b0f806816c1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Wed, 17 Aug 2022 00:07:05 +0200 Subject: [PATCH] Oops, remove wrong comments --- GPU/Common/FramebufferManagerCommon.cpp | 1 - GPU/Directx9/FramebufferManagerDX9.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/GPU/Common/FramebufferManagerCommon.cpp b/GPU/Common/FramebufferManagerCommon.cpp index fa2594d00be9..6ebaae8366b4 100644 --- a/GPU/Common/FramebufferManagerCommon.cpp +++ b/GPU/Common/FramebufferManagerCommon.cpp @@ -2084,7 +2084,6 @@ bool FramebufferManagerCommon::GetFramebuffer(u32 fb_address, int fb_stride, GEB bool FramebufferManagerCommon::GetDepthbuffer(u32 fb_address, int fb_stride, u32 z_address, int z_stride, GPUDebugBuffer &buffer) { VirtualFramebuffer *vfb = currentRenderVfb_; if (!vfb) { - // TODO: This is flawed, as it looks for color buffers at the address, not depth. vfb = GetVFBAt(fb_address); } diff --git a/GPU/Directx9/FramebufferManagerDX9.cpp b/GPU/Directx9/FramebufferManagerDX9.cpp index 6ef34d7695df..dab35117dc1a 100644 --- a/GPU/Directx9/FramebufferManagerDX9.cpp +++ b/GPU/Directx9/FramebufferManagerDX9.cpp @@ -330,7 +330,6 @@ namespace DX9 { bool FramebufferManagerDX9::GetDepthbuffer(u32 fb_address, int fb_stride, u32 z_address, int z_stride, GPUDebugBuffer &buffer) { VirtualFramebuffer *vfb = currentRenderVfb_; if (!vfb) { - // TODO: This is flawed, as it looks for color buffers at the address, not depth. vfb = GetVFBAt(fb_address); }