Message ID | 20111018141909.28464.27580.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'src/scene-build.cpp' --- src/scene-build.cpp 2011-10-11 09:46:59 +0000 +++ src/scene-build.cpp 2011-10-18 13:40:12 +0000 @@ -228,16 +228,10 @@ normal_matrix.inverse().transpose(); mProgram["NormalMatrix"] = normal_matrix; - std::vector<std::pair<size_t,size_t> > ranges; - ranges.push_back(std::pair<size_t,size_t>(2, - 0 * mMesh.vertices().size()/3 + 3)); - if (mUseVbo) { - mMesh.update_vbo(ranges); mMesh.render_vbo(); } else { - mMesh.update_array(ranges); mMesh.render_array(); } }