Added Renderer::GetDepthFunc
Former-commit-id: 222cefb90f7fd4771bd5b9f9eab9f9adf02b72d9
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -516,6 +516,11 @@ void NzRenderer::Flush()
|
||||
glFlush();
|
||||
}
|
||||
|
||||
nzRendererComparison NzRenderer::GetDepthFunc()
|
||||
{
|
||||
return s_states.depthFunc;
|
||||
}
|
||||
|
||||
NzVertexBuffer* NzRenderer::GetInstanceBuffer()
|
||||
{
|
||||
#if NAZARA_RENDERER_SAFE
|
||||
|
||||
Reference in New Issue
Block a user