cocos2d/cocos2d-x — pull request #6145 by wefiends (2014-04-04 10:07:16+00:00)
Title: CCGLView: Add createWithFullscreen overloaded method that sets video mode.

There is currently no way to pass the desired size for a fullscreen window. It always sets the window size to the current video mode.

This adds an overloaded method that passes a size to GLFW. If the size doesn't match an available video mode, GLFW will set it to closest available size.