OSDN Git Service

[changed] SpriteBatch uses vertex arrays if SpriteBatch() or SpriteBatch(int size...
authorbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Sun, 5 Dec 2010 05:29:13 +0000 (05:29 +0000)
committerbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Sun, 5 Dec 2010 05:29:13 +0000 (05:29 +0000)
commitf6aa1fd72af7f9e4be29895f40e1edb2b5ed454e
tree3870e51fe78637097889e7d1575c72c3a5a81b00
parent96d5c86cfac14de0d4c2095e15fcf48d11d9a9fe
[changed] SpriteBatch uses vertex arrays if SpriteBatch() or SpriteBatch(int size) constructors are used. Tries to use n-buffered VBOs in case of SpriteBatch(int size, int buffers) is used and falls back to VAs if VBOs are not supported. It's funny that the commit comment is ca. 100x longer than the actual code it took to "implement" that. 20 characters...
gdx/src/com/badlogic/gdx/graphics/SpriteBatch.java