Exemplo n.º 1
0
// react to size changes
void reshape(int w, int h)
{
    mgr->resize(w, h);
    _idbuff->reshape(w,h);

    glutPostRedisplay();
}
// react to size changes
void reshape(int w, int h)
{
    if(glutGetWindow() == mainwinid)
    {
        mgr->resize(w,h);
        glutPostRedisplay();
    }
    else if(glutGetWindow() == debugwinid)
    {
        debugwin->resize(w,h);
        glutPostRedisplay();       
    }
}
// react to size changes
void reshape(int w, int h)
{
    _mgr->resize(w, h);
    glutPostRedisplay();
}