OSDN Git Service

modified SpriteBatch enableBlending() and disableBlending() methods to check if blend...
authorAriel Coppes <ariel.coppes@gemserk.com>
Sat, 6 Oct 2012 20:32:05 +0000 (17:32 -0300)
committerAriel Coppes <ariel.coppes@gemserk.com>
Sat, 6 Oct 2012 20:32:05 +0000 (17:32 -0300)
commit6f6c7711de246fd5a8403b1022e23f6bceda0cf0
tree0a793733b8a9f3b564a719afe85ea862f1adeb4f
parentc44e5dfde8ced20e750ae4a3393dfa533c81df4a
modified SpriteBatch enableBlending() and disableBlending() methods to check if blendingDisabled was disabled or enabled, respectively, to perform the renderMesh() or not, so two consecutive calls to enableBlending/disableBlending will not perform a renderMesh() call
gdx/src/com/badlogic/gdx/graphics/g2d/SpriteBatch.java