OSDN Git Service

[fixed] all glutils buffer objects now set byteBuffer.limit to buffer.limit if extern...
authorbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Mon, 15 Nov 2010 03:39:15 +0000 (03:39 +0000)
committerbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Mon, 15 Nov 2010 03:39:15 +0000 (03:39 +0000)
commitabe8830856c70b7354a06fcca7ea59936744e9ee
tree3bd7a73b694d020ab9aad4dea826fd99142771a5
parent23c28eb6c5bc2e6b032cee45c3c94382a3299eba
[fixed] all glutils buffer objects now set byteBuffer.limit to buffer.limit if external client messed with FloatBuffer/ShortBuffer. should also take position into account.
[fixed] reset byteBuffer position in VA after rendering is done
gdx/src/com/badlogic/gdx/graphics/glutils/IndexBufferObject.java
gdx/src/com/badlogic/gdx/graphics/glutils/IndexBufferObjectSubData.java
gdx/src/com/badlogic/gdx/graphics/glutils/VertexArray.java
gdx/src/com/badlogic/gdx/graphics/glutils/VertexBufferObject.java
gdx/src/com/badlogic/gdx/graphics/glutils/VertexBufferObjectSubData.java