Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-09-29 17:36:49 +0000
committerStijn Buys <ingar@osirion.org>2010-09-29 17:36:49 +0000
commit3274ad9eeb02af614e1cba5cd05468de04069d6e (patch)
treed59c581164fdd22c0d3307b09508af56932c5276 /src/render/gl.cc
parent178f0e4a83918df416ac8274b0e845b390772d76 (diff)
better envmapping, by Odin
Diffstat (limited to 'src/render/gl.cc')
-rw-r--r--src/render/gl.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/render/gl.cc b/src/render/gl.cc
index 355efab..d21065e 100644
--- a/src/render/gl.cc
+++ b/src/render/gl.cc
@@ -204,5 +204,15 @@ void frustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdou
glFrustum(left, right, bottom, top, znear, zfar);
}
+void texgeni(GLenum coord, GLenum param, GLenum value)
+{
+ glTexGeni(coord, param, value);
+}
+
+void texgenfv(GLenum coord, GLenum param, const GLfloat* value)
+{
+ glTexGenfv(coord, param, value);
+}
+
} // namespace gl