diff options
author | Stijn Buys <ingar@osirion.org> | 2010-12-06 22:19:51 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-12-06 22:19:51 +0000 |
commit | e88766103ca0448d5b88c517f30372696bce9219 (patch) | |
tree | e847bac9894174d22b3cc30da7bce65e3f563e05 /src | |
parent | c50095cab023e91ba2a4fec8dcb290e6d817124b (diff) |
Corrected an envmap state change in the fragment renderer.
Diffstat (limited to 'src')
-rw-r--r-- | src/render/draw.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/draw.cc b/src/render/draw.cc index 7511598..48e53a2 100644 --- a/src/render/draw.cc +++ b/src/render/draw.cc @@ -772,6 +772,7 @@ void draw_model_fragments(model::Model *model, } } else { + gl::disable(GL_TEXTURE_CUBE_MAP); gl::texgeni(GL_S, GL_TEXTURE_GEN_MODE, GL_SPHERE_MAP); gl::texgeni(GL_T, GL_TEXTURE_GEN_MODE, GL_SPHERE_MAP); |