[osg-users] Crash with getGLVersionNumber()

2008-07-08 Thread Jerome Latapie
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

Re: [osg-users] Crash with getGLVersionNumber()

2008-07-09 Thread Robert Osfield
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 <[EMAIL PROTECTED]> wrote: > Hi All > > > > I a