[osg-users] Crash with getGLVersionNumber()

Robert Osfield robert.osfield at gmail.com
Wed Jul 9 01:45:05 PDT 2008


Hi Jereme,

This suggests that the graphics code is being called from a thread
without a graphics context current.  You'll need to do a makeCurrent
in the windowing code before you call the OSG.

Robert.

On Tue, Jul 8, 2008 at 7:19 PM, Jerome Latapie <jerome at altair.com> wrote:
> Hi All
>
>
>
> I am on windows xp and I am using osg 2.4.0 and qt 3.3.8
>
> I use the GraphicsWindowEmbedded to set the graphicsContext.
>
>
>
> I have a crash in osg::getGLVersionNumber() when I try to draw my SceneView.
>
> My GL_VERSION variable seems not to be set.
>
>
>
> Have you any idea what I am doing wrong ?
>
>
>
> Thanks, Jerome
>
>
>
> Jerome Latapie
>
> Program Manager - Advanced User Interface
>
> Work : + 1 248 614 2400 ext 407
>
> Cell : + 1 248 245 3503
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>



More information about the osg-users mailing list