Hello Stephane,
Stephane Routelous wrote:
> if i add
> glEnable(GL_DEPTH_TEST);
> before
> _window->render(_ID_renderAction);
> it seems to work.
>
> Why do I have to do that ?
> It's not handled internally by the framework ?
> (confused...)
it is called from Window::setupGL(), which sets the assumed OpenGL state
and is called from PassiveWindow::init().
It looks as if that call happens without the context being made current
in your init() function, so it might go to the wrong context or is
ignored altogether.
regards,
Carsten
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users