예제 #1
0
파일: CCEGLView.cpp 프로젝트: Gamex/GameX
void OpenGLContext::ResizeContext(int width, int height)
{
    CCLOG("OpenGLContext::ResizeContext %dx%d", width, height);
    _size.SetSize(width, height);
    if (!_graphics3d.is_null())
    {
        _graphics3d.ResizeBuffers(width, height);
    }
}