304
378
wglMakeCurrent(Fl_X::i(w)->private_dc, context);
306
380
if ( w->parent() ) { //: resize our GL buffer rectangle
307
381
Rect wrect; GetWindowPortBounds( fl_xid(w), &wrect );
308
382
GLint rect[] = { w->x(), wrect.bottom-w->h()-w->y(), w->w(), w->h() };