Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/gl.cc')
-rw-r--r--src/render/gl.cc16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/render/gl.cc b/src/render/gl.cc
index 801c320..fa7c092 100644
--- a/src/render/gl.cc
+++ b/src/render/gl.cc
@@ -59,35 +59,39 @@ void depthmask(GLenum mode)
::glDepthMask(mode);
}
+void depthfunc(GLenum func)
+{
+ ::glDepthFunc(func);
+}
void frontface(GLenum mode)
{
- glFrontFace(mode);
+ ::glFrontFace(mode);
}
void cullface(GLenum mode)
{
- glCullFace(mode);
+ ::glCullFace(mode);
}
void shademodel(GLenum mode)
{
- glShadeModel(mode);
+ ::glShadeModel(mode);
}
void blendfunc(GLenum sfactor, GLenum dfactor)
{
- glBlendFunc(sfactor, dfactor);
+ ::glBlendFunc(sfactor, dfactor);
}
void enable(GLenum cap)
{
- glEnable(cap);
+ ::glEnable(cap);
}
void disable(GLenum cap)
{
- glDisable(cap);
+ ::glDisable(cap);
}
void clear(GLbitfield mask)