Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-12-06 22:19:51 +0000
committerStijn Buys <ingar@osirion.org>2010-12-06 22:19:51 +0000
commite88766103ca0448d5b88c517f30372696bce9219 (patch)
treee847bac9894174d22b3cc30da7bce65e3f563e05 /src
parentc50095cab023e91ba2a4fec8dcb290e6d817124b (diff)
Corrected an envmap state change in the fragment renderer.
Diffstat (limited to 'src')
-rw-r--r--src/render/draw.cc1
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);