OSDN Git Service

[changed] SpriteBatch now wants a clean OpenGL ES state. Begin() disable z-buffer...
authorbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Sat, 12 Feb 2011 11:42:54 +0000 (11:42 +0000)
committerbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Sat, 12 Feb 2011 11:42:54 +0000 (11:42 +0000)
commitd4159ee7850213ca3099b7b60a891d764a0c4770
tree78bb9191704ba2fb4b4a08c26f4a4f7c93e7c7ec
parent3fd6311c2dda41d4508b2b8a47b347e4f416fb2f
[changed] SpriteBatch now wants a clean OpenGL ES state. Begin() disable z-buffer writes and texturing and overwrites the projection and model-view matrix. End() disables blending if it was enabled as well as texturing and reenables z-buffer writes.
gdx/src/com/badlogic/gdx/graphics/g2d/SpriteBatch.java