diff --git a/src/core/gpu_hw.cpp b/src/core/gpu_hw.cpp index b45a1601a..4a57cf4be 100644 --- a/src/core/gpu_hw.cpp +++ b/src/core/gpu_hw.cpp @@ -576,8 +576,10 @@ void GPU_HW::LoadVertices() } else if (g_settings.gpu_pgxp_depth_buffer) { - SetBatchDepthBuffer(true); - CheckForDepthClear(vertices.data(), num_vertices); + const bool use_depth = (m_batch.transparency_mode == GPUTransparencyMode::Disabled); + SetBatchDepthBuffer(use_depth); + if (use_depth) + CheckForDepthClear(vertices.data(), num_vertices); } }