osgRecipes
osgRecipes copied to clipboard
AntTweakBar: Cannot load functions
Hello.
I try to use AntTweakBar along with Opengl core. So i call TwInit( TW_OPENGL_CORE, NULL );
The problem is that i get some errors: Cannot load function glBlendColor Cannot load function glBlendEquation and many more core functions.
I had to use the following: fprintf(stderr, "AntTweakBar: Cannot load function %s\n", g_OGLCoreFuncRec[i].m_Name); in function: int LoadOpenGLCore()
What can i do for AntTweakBar to see these functions ?
Thank you for your time.
I haven't tested AntTweakBar under core profile. The first thing I think you should check is to ensure OSG also works under core profile. So you may have to recompile OSG with GL3 headers first.
Thank you,
Wang Rui
2012/9/13 peterakos [email protected]
Hello.
I try to use AntTweakBar along with Opengl core. So i call TwInit( TW_OPENGL_CORE, NULL );
The problem is that i get some errors: Cannot load function glBlendColor Cannot load function glBlendEquation and many more core functions.
I had to use the following: fprintf(stderr, "AntTweakBar: Cannot load function %s\n", g_OGLCoreFuncRec[i].m_Name); in function: int LoadOpenGLCore()
What can i do for AntTweakBar to see these functions ?
Thank you for your time.
— Reply to this email directly or view it on GitHubhttps://github.com/xarray/osgRecipes/issues/8.
Hello
i have compiled osg with GL3 and it works.
Shouldnt i be able to use it under core profile with this line ? TwInit( TW_OPENGL_CORE, NULL );
thnx again.