Hello,

I have a QGLWidget that wrappes a osg::Viewer, and I am trying to render
text with Qt API as follows

        glPushMatrix();
       qglColor(Qt::white);
        renderText(10, 10, "Ola" );
        glPopMatrix();

This is called inside the widget's paintEvent

After this is called, the following warning shows up:


*Warning: detected OpenGL error 'stack overflow' at after
RenderBin::draw(..)*

What could be wrong here?
Thank you
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to