Added Renderer::GetDepthFunc
Former-commit-id: 222cefb90f7fd4771bd5b9f9eab9f9adf02b72d9
This commit is contained in:
parent
efd3491b43
commit
3e0561830f
|
|
@ -52,6 +52,7 @@ class NAZARA_API NzRenderer
|
||||||
|
|
||||||
static void Flush();
|
static void Flush();
|
||||||
|
|
||||||
|
static nzRendererComparison GetDepthFunc();
|
||||||
static NzVertexBuffer* GetInstanceBuffer();
|
static NzVertexBuffer* GetInstanceBuffer();
|
||||||
static float GetLineWidth();
|
static float GetLineWidth();
|
||||||
static NzMatrix4f GetMatrix(nzMatrixType type);
|
static NzMatrix4f GetMatrix(nzMatrixType type);
|
||||||
|
|
|
||||||
|
|
@ -516,6 +516,11 @@ void NzRenderer::Flush()
|
||||||
glFlush();
|
glFlush();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nzRendererComparison NzRenderer::GetDepthFunc()
|
||||||
|
{
|
||||||
|
return s_states.depthFunc;
|
||||||
|
}
|
||||||
|
|
||||||
NzVertexBuffer* NzRenderer::GetInstanceBuffer()
|
NzVertexBuffer* NzRenderer::GetInstanceBuffer()
|
||||||
{
|
{
|
||||||
#if NAZARA_RENDERER_SAFE
|
#if NAZARA_RENDERER_SAFE
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue