From e88766103ca0448d5b88c517f30372696bce9219 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 6 Dec 2010 22:19:51 +0000 Subject: Corrected an envmap state change in the fragment renderer. --- src/render/draw.cc | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3