Hi Stephan,

On Tue, Feb 22, 2011 at 4:45 PM, Stephan Irgenfried <[email protected]> wrote:
> Hi Robert,
> thanks for the quick reply. I got it sorted out now. I had more than more 
> issue in my code and things got mixed up. It looks like it takes a few calls 
> to frame() at start before i can retrieve a valid graphicsContext.

All you need to do is make a call to Viewer::realize() to make sure
that the graphics context is step up.  If you don't call realize()
yourself then the first call to frame() will automatically do the call
for you.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to