window->State.pWState.OldWidth = width;
window->State.pWState.OldHeight = height;
- if( FETCH_WCB( *window, Reshape ) )
- INVOKE_WCB( *window, Reshape, ( width, height ) );
- else
- {
- fgSetWindow( window );
- glViewport( 0, 0, width, height );
- }
+ INVOKE_WCB( *window, Reshape, ( width, height ) );
glutPostRedisplay( );
if( window->IsMenu )
fgSetWindow( current_window );
* private call should be generated.
*/
if( fgCheckActiveMenu( window, button, pressed,
- event.xbutton.x_root, event.xbutton.y_root ) )
+ event.xbutton.x, event.xbutton.y ) )
break;
/*