OSDN Git Service

[fixed] setVertices bound the VA. wtf?
authorbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Sun, 14 Nov 2010 10:56:41 +0000 (10:56 +0000)
committerbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Sun, 14 Nov 2010 10:56:41 +0000 (10:56 +0000)
gdx/src/com/badlogic/gdx/graphics/glutils/VertexArray.java

index 1e05ade..678d8a9 100644 (file)
@@ -89,8 +89,6 @@ public class VertexArray implements VertexData {
                BufferUtils.copy(vertices, byteBuffer, count, offset);\r
                buffer.position(0);\r
                buffer.limit(count);\r
-                               \r
-               if( isBound ) bind();\r
        }\r
 \r
        @Override\r