GPU/HW: Fix a potential case where depth isn't cleared on viewport change
This commit is contained in:
parent
a385573672
commit
d187c8b08d
|
@ -343,7 +343,6 @@ void GPU_HW::SetBatchDepthBuffer(bool enabled)
|
||||||
}
|
}
|
||||||
|
|
||||||
m_batch.use_depth_buffer = enabled;
|
m_batch.use_depth_buffer = enabled;
|
||||||
m_last_depth_z = 1.0f;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GPU_HW::CheckForDepthClear(const BatchVertex* vertices, u32 num_vertices)
|
void GPU_HW::CheckForDepthClear(const BatchVertex* vertices, u32 num_vertices)
|
||||||
|
|
Loading…
Reference in New Issue