From ea18c25aef4aa0104852f314dd76e4ce446673f3 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 12 Aug 2009 20:22:20 +0000 Subject: triangle/quad code cleanup,corrects submodel origin, enable quad rendering again --- src/render/draw.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render') 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); -- cgit v1.2.3