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 17, 2022
1 parent 19367dd commit a8b1d11
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 @@ -327,7 +327,6 @@
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 a8b1d11

Please sign in to comment.