Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AntTweakBar: Cannot load functions #8

Open
peterakos opened this issue Sep 12, 2012 · 2 comments
Open

AntTweakBar: Cannot load functions #8

peterakos opened this issue Sep 12, 2012 · 2 comments

Comments

@peterakos
Copy link

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.

@xarray
Copy link
Owner

xarray commented Sep 13, 2012

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//issues/8.

@peterakos
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants