Hi,
solved as this,thx!
void AdapterWidget::resizeGL( int width, int height )
{
if (width < 1) width = 1;
if (hight < 1) hight = 1;
_gw->getEventQueue()->windowResize(0, 0, width, height );
_gw->resized(0,0,width,height);
}
Thank you!
Cheers,
Lv
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38074#38074
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org