Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/render')
-rw-r--r--src/render/draw.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/draw.cc b/src/render/draw.cc
index e800d62..da8c8d3 100644
--- a/src/render/draw.cc
+++ b/src/render/draw.cc
@@ -663,7 +663,7 @@ void draw_model_fragments(model::Model *model,
if (material->flags() & model::Material::Texture) {
- Textures::bind(material->texture());
+ Textures::bind(material->texture_id());
if (!use_texture) {
gl::enable(GL_TEXTURE_2D);