On 7/30/07, Carlos Nava <[EMAIL PROTECTED]> wrote:
> Hi Robert,
>
> It only happens to a series of projects i'm working on, not to the OSG
> examples, I'm using OSG 1.2 on Visual Studio 2005
>
> I can post the code if it would help...
Its likely that some OpenGL state you are setting isn't supported on
your hardware. The big question is what OpenGL features are causing
this problem. You could enable finer grained checking for OpenGL
errros via osg::State::setCheckForGLErrors(osg:State::ONCE_PER_ATTRIBUTE);
Or enable by tweaking the State constructor in src/osg/State.cpp.
You'll see a block:
#if 1
_checkGLErrors = ONCE_PER_FRAME;
#else
_checkGLErrors = ONCE_PER_ATTRIBUTE;
#endif
Just change the #if 1 to #if 0.
This might give you a bit more info.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org