#0 0xb7ff2456 in glViewport () from /usr/lib/libGL.so.1 #1 0x080575ad in resizePuzzleGL (w=0x8e2b610) at RubikGL.c:2051 2046: /* Determine size of client area */ 2047: (void) GetClientRect(w->core.hWnd, &rect); 2048: w->core.width = rect.right; 2049: w->core.height = rect.bottom; 2050: #endif 2051: glViewport(0, 0, (GLint) w->core.width, (GLint) w->core.height); 2052: glMatrixMode(GL_PROJECTION); 2053: glLoadIdentity(); 2054: glFrustum(-1.0, 1.0, -1.0, 1.0, 5.0, 15.0); 2055: glMatrixMode(GL_MODELVIEW); 2056: } #2 0x0805779a in initializePuzzleGL (request=0xbff24310, renew=0x8e2b610) #3 0xb7f354a8 in CallInitialize (class=0x8067c60, req_widget=0xbff24310, #4 0xb7f35f34 in xtCreate (name=, #5 0xb7f3684f in _XtCreateWidget (name=0x8061ae1 "rubik", #6 0xb7f36b14 in XtCreateManagedWidget (name=0x8061ae1 "rubik", #7 0x0805e6e2 in main (argc=-1074640584, argv=0xbff249e4) at xrubik.c:2360 2355: puzzle2d = XtCreateManagedWidget("rubik", 2356: rubik2dWidgetClass, topLevel, NULL, 0); 2357: puzzle3d = XtCreateManagedWidget("rubik", 2358: rubik3dWidgetClass, shell, NULL, 0); 2359: #ifdef HAVE_OPENGL 2360: puzzleGL = XtCreateManagedWidget("rubik", 2361: rubikGLWidgetClass, shellGL, NULL, 0); 2362: #endif 2363: #endif 2364: XtVaGetValues(puzzle2d, 2365: XtNpixmapSize, &pixmapSize, NULL);