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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user