Hi Aitor,
The warning you are getting OpenGL version test failed, requires
valid graphics context. suggests that you are trying to do rendering
from a thread that doesn't have a graphics context current.
I know nothing about how you are setting up your graphics context or
how you manage you
hi CG
when you remove a shader, osg::Program need to be relinked.
this is done by osgUtil::GLObjectVisitor in osgViewer::Renderer::draw
method.
So this seem can be done at runtime.
Which OSG version did you use ?
Did you use osgViewer ?
David Callu
2008/6/12 CG [EMAIL PROTECTED]:
Hi all,
Hi David,
I'm using osg 2.4 and osgViewer.
Regards,
Cg
Date: Thu, 12 Jun 2008 11:09:49 +0200From: [EMAIL PROTECTED]: [EMAIL
PROTECTED]: Re: [osg-users] Shader Problemhi CGwhen you remove a shader,
osg::Program need to be relinked.this is done by osgUtil::GLObjectVisitor in
: [osg-users] Shader Problem
hi CG
when you remove a shader, osg::Program need to be relinked.
this is done by osgUtil::GLObjectVisitor in osgViewer::Renderer::draw
method.
So this seem can be done at runtime.
Which OSG version did you use ?
Did you use osgViewer ?
David Callu
2008/6
David, I'm using osg 2.4 and osgViewer. Regards,Cg
Date: Thu, 12 Jun 2008 11:09:49 +0200From: [EMAIL PROTECTED]: [EMAIL
PROTECTED]: Re: [osg-users] Shader Problem
hi CGwhen you remove a shader, osg::Program need to be relinked.this is done by
osgUtil::GLObjectVisitor in osgViewer::Renderer
5 matches
Mail list logo