mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-04 02:25:42 -04:00
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…
x
Reference in New Issue
Block a user