cocos2d/cocos2d-x — pull request #1292 by moremorefun (2012-09-07 18:04:33+00:00)
Title: fix setDesignResolutionSize crash

When setDesignResolutionSize call setGLDefaultValues function,
but at that moment m_pobOpenGLView is NULL.
m_pobOpenGLView is initialization when CCApplication::sharedApplication()->run(),
at that time setGLDefaultValues will be called too.

check the issues/1291, https://github.com/cocos2d/cocos2d-x/issues/1291

I am new here, so I am not sure the change is OK.

Thank you.