Johan Johnsson schrieb:
> Platform: Mindows OS
>
>
>   // Fill the traits structure and get the GraphicsContext for the MAIN  
> window
>   osg::ref_ptr<osg::GraphicsContext::Traits> traits = new  
> osg::GraphicsContext::Traits;
>   traits->screenNum = 0;
>   traits->doubleBuffer = true;
>   traits->sharedContext = 0;
>   traits->windowDecoration = true;
>   traits->width = vd->process.scrnRes.x;
>   traits->height = vd->process.scrnRes.y;
>   traits->x = 0;
>   traits->y = windowHeight - vd->process.scrnRes.y;
>   traits->vsync = true;
add a

traits->supportsResize = true;

and the window should be resizeable,

cheers,

Stephan
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to