Write z data to the depth buffer.

This commit is contained in:
Paul Chote
2016-04-08 10:54:30 -04:00
parent ecebb2a844
commit 2634643d91
6 changed files with 51 additions and 20 deletions

View File

@@ -255,6 +255,12 @@ namespace OpenRA
Device.DisableDepthBuffer();
}
public void ClearDepthBuffer()
{
Flush();
Device.ClearDepthBuffer();
}
public void GrabWindowMouseFocus()
{
Device.GrabWindowMouseFocus();