Added Renderer::GetDepthFunc

Former-commit-id: 222cefb90f7fd4771bd5b9f9eab9f9adf02b72d9
This commit is contained in:
Lynix 2013-12-26 11:33:01 +01:00
parent efd3491b43
commit 3e0561830f
2 changed files with 6 additions and 0 deletions

View File

@ -52,6 +52,7 @@ class NAZARA_API NzRenderer
static void Flush();
static nzRendererComparison GetDepthFunc();
static NzVertexBuffer* GetInstanceBuffer();
static float GetLineWidth();
static NzMatrix4f GetMatrix(nzMatrixType type);

View File

@ -516,6 +516,11 @@ void NzRenderer::Flush()
glFlush();
}
nzRendererComparison NzRenderer::GetDepthFunc()
{
return s_states.depthFunc;
}
NzVertexBuffer* NzRenderer::GetInstanceBuffer()
{
#if NAZARA_RENDERER_SAFE