[osg-submissions] uninitalized variables in State.cpp
Robert Osfield
robert.osfield at gmail.com
Wed Mar 5 03:05:28 PST 2008
HI Art,
Thanks for changes, now merged and submitted to SVN.
The problem with initializeExtensionProcs() not being called is more
of a problem though, it should be called for by
GraphicsContext::makeCurrent and SceneView::draw. How are you
rendering the OSG as you seem to be bypassing even SceneView.
Robert.
On Wed, Mar 5, 2008 at 10:53 AM, Art Tevs <stud_info2 at yahoo.de> wrote:
> Hi Robert,
>
> in the State.cpp the variables _glMaxTextureCoords
> and_glMaxTextureUnits are not initialized per default.
> They are first initialized in the
> initializeExtensionProcs() method, which is for some
> reasons is not executed in my applications (most of
> the time I have to do it by hand).
>
> Hence the value of the both variables is
> unpredictable. I attached a patched State.cpp file
> which do initialize the both variables in the
> constructor.
>
> Thanks.
>
> Cheers,
> Art
>
>
>
>
>
> Machen Sie Yahoo! zu Ihrer Startseite. Los geht's:
> http://de.yahoo.com/set
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
More information about the osg-submissions
mailing list