Skip to content

Commit 5f48ee9

Browse files
committed
Compatibility check
1 parent e23dd42 commit 5f48ee9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GPU/Common/FramebufferManagerCommon.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ void FramebufferManagerCommon::CopyToDepthFromOverlappingFramebuffers(VirtualFra
560560
BlitFramebufferDepth(source.vfb, dest);
561561
gpuStats.numDepthCopies++;
562562
dest->last_frame_depth_updated = gpuStats.numFlips;
563-
} else if (source.channel == RASTER_COLOR) {
563+
} else if (source.channel == RASTER_COLOR && draw_->GetDeviceCaps().fragmentShaderDepthWriteSupported) {
564564
VirtualFramebuffer *src = source.vfb;
565565
if (src->drawnFormat != GE_FORMAT_565) {
566566
WARN_LOG_ONCE(not565, G3D, "Drawn format of buffer at %08x not 565 as expected", src->fb_address);

0 commit comments

Comments
 (0)