Thanks David, fix now merged and submitted to svn/trunk.

On Mon, Aug 31, 2009 at 10:24 PM, David Fries <[email protected]> wrote:
> The Extensions object was calling _gl_get_query_objectui64v but
> checking _gl_get_query_objectuiv_arb which is a different function
> pointer.  Changed to check the function being called.
>
> This is against the subversion trunk.
>
> Index: src/osg/Drawable.cpp
> ===================================================================
> --- src/osg/Drawable.cpp        (revision 10563)
> +++ src/osg/Drawable.cpp        (working copy)
> @@ -1480,7 +1480,7 @@
>
>  void Drawable::Extensions::glGetQueryObjectui64v(GLuint id, GLenum pname, 
> GLuint64EXT *params) const
>  {
> -  if (_gl_get_query_objectuiv_arb)
> +  if (_gl_get_query_objectui64v)
>     _gl_get_query_objectui64v(id, pname, params);
>   else
>     osg::notify(osg::WARN) << "Error: glGetQueryObjectui64v not supported by 
> OpenGL driver" << std::endl;
>
> --
> David Fries <[email protected]>
> http://fries.net/~david/ (PGP encryption key available)
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to