diff options
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/draw.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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); |