From 70b4d79d501be4802a06770f02b8f49e2c14e8a7 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 16 Jul 2009 18:34:54 +0000 Subject: Removes unused collor array support, disable bullet in sys/sys.h --- src/render/draw.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/render') diff --git a/src/render/draw.cc b/src/render/draw.cc index f128019..5b3127b 100644 --- a/src/render/draw.cc +++ b/src/render/draw.cc @@ -625,7 +625,7 @@ void draw_model_fragments(model::Model *model, } } } else { - /// material not found + // material not found if (use_light) { gl::disable(GL_LIGHTING); use_light = false; @@ -1027,8 +1027,8 @@ void draw(float seconds) // set vertex array pointers glVertexPointer(3, GL_FLOAT, 0, core::game()->vertexarray()->vertex()); glNormalPointer(GL_FLOAT, 0, core::game()->vertexarray()->normal()); - glColorPointer(3, GL_FLOAT, 0, core::game()->vertexarray()->color()); glTexCoordPointer(3, GL_FLOAT, 0, core::game()->vertexarray()->texture()); +// glColorPointer(3, GL_FLOAT, sizeof(float) * (model::VERTEXSIZE - 3), core::game()->vertexarray()->color()); // enable vertex arrays glEnableClientState(GL_VERTEX_ARRAY); -- cgit v1.2.3