Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);