libgdx/libgdx — pull request #53 by acoppes (2012-10-06 20:34:41+00:00)
Title: Avoid unnecesary calls to renderMesh() in both enableBlending and disableBlending if blending was already enabled/disabled.

The commit log says the idea:

"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"