From David Fries, "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."
This commit is contained in:
Robert Osfield
2009-10-10 10:07:40 +00:00
parent a601754450
commit ef1c9d9e3c

View File

@@ -1480,7 +1480,7 @@ void Drawable::Extensions::glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *
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;