[osg-users] setGLExtensionFuncPtr priority

Julien Valentin julienvalentin51 at gmail.com
Sat Aug 25 12:55:27 PDT 2018


Hi,
I just found the cause of a recurring malfunction in osgbindlesstext under nux:
it seams non suffixed procaddr are malfunctionning 
    setGLExtensionFuncPtr(glGetTextureHandle,  "glGetTextureHandle",           "glGetTextureHandleARB","glGetTextureHandleNV", validContext);

"glGetTextureHandle" give a valid adress but fails at use.

i fix it moving non ARB suffixed procname at the end :
    setGLExtensionFuncPtr(glGetTextureHandle,        "glGetTextureHandleARB","glGetTextureHandleNV", "glGetTextureHandle",     validContext);

It seams reasonnable fix but would like confirmatoin as it is sure a weird driver behavior

Thank you!

Cheers,
Julien

------------------------
Twirling twirling twirling toward freedom

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74596#74596







More information about the osg-users mailing list