Hi,
   
  I tried both ways but in State.cpp I couldn't find the block you talked 
about, and with the code I got one Error C2352 about non static function call...
   
  any idea why?

Robert Osfield <[EMAIL PROTECTED]> escribió:
  
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


       
---------------------------------

¡Sé un mejor asador!
Aprende todo sobre asados.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to