diff options
author | Stijn Buys <ingar@osirion.org> | 2010-09-29 17:36:49 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-09-29 17:36:49 +0000 |
commit | 3274ad9eeb02af614e1cba5cd05468de04069d6e (patch) | |
tree | d59c581164fdd22c0d3307b09508af56932c5276 /src/render/gl.cc | |
parent | 178f0e4a83918df416ac8274b0e845b390772d76 (diff) |
better envmapping, by Odin
Diffstat (limited to 'src/render/gl.cc')
-rw-r--r-- | src/render/gl.cc | 10 |
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 |