Skip to content

Commit

Permalink
Oops, remove wrong comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Aug 16, 2022
1 parent d5c4f51 commit e0463cb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion GPU/Common/FramebufferManagerCommon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
1 change: 0 additions & 1 deletion GPU/Directx9/FramebufferManagerDX9.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit e0463cb

Please sign in to comment.