diff mbox

[Branch,~glmark2-dev/glmark2/trunk] Rev 158: SceneBuild: Remove forgotten test code.

Message ID 20111018141909.28464.27580.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

alexandros.frantzis@linaro.org Oct. 18, 2011, 2:19 p.m. UTC
------------------------------------------------------------
revno: 158
committer: Alexandros Frantzis <alexandros.frantzis@linaro.org>
branch nick: trunk
timestamp: Tue 2011-10-18 16:40:12 +0300
message:
  SceneBuild: Remove forgotten test code.
  
  This code was erroneously commited while testing the buffer update functionality.
modified:
  src/scene-build.cpp


--
lp:glmark2
https://code.launchpad.net/~glmark2-dev/glmark2/trunk

You are subscribed to branch lp:glmark2.
To unsubscribe from this branch go to https://code.launchpad.net/~glmark2-dev/glmark2/trunk/+edit-subscription
diff mbox

Patch

=== 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();
     }
 }