Expose depth buffer to render code.

This commit is contained in:
Paul Chote
2013-02-22 23:29:34 +13:00
parent 9566385aac
commit 1b34c7d6b9
4 changed files with 32 additions and 0 deletions

View File

@@ -186,5 +186,17 @@ namespace OpenRA.Graphics
Flush();
Device.DisableScissor();
}
public void EnableDepthBuffer()
{
Flush();
Device.EnableDepthBuffer();
}
public void DisableDepthBuffer()
{
Flush();
Device.DisableDepthBuffer();
}
}
}