Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-08-12 20:22:20 +0000
committerStijn Buys <ingar@osirion.org>2009-08-12 20:22:20 +0000
commitea18c25aef4aa0104852f314dd76e4ce446673f3 (patch)
tree928d7ecef63acda7b32d5243ef5cf14760e555c9 /src/render
parent83b66522dfcad1b2428ce4fd81d83e39a051a4c5 (diff)
triangle/quad code cleanup,corrects submodel origin, enable quad rendering again
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);