libgdx/libgdx — pull request #1094 by rinold (2013-12-16 07:28:18+00:00)
Title: Added FBO.end(x, y, width, height) method

Added parametrised FBO#end(...) method - do the same as end() but that restores the viewport with sizes passed as arguments.

This method will help to remove duplicate glViewport calls after usage of FBO when using non-default viewport.