R: [Plib-users] Using Multiple Window of GLUT
Brought to you by:
sjbaker
From: Paolo L. <p.l...@ci...> - 2005-09-08 14:17:27
|
If you are under Windows you need to share lists (display lists and = texture objects) through the wgl function wglShareLists, which takes two OpenGL contexes (returned by the function GetCurrentContext). Such two contexes are respectively the one where the textures/display = lists were created, and the new one willing to put hands on them (or in the reverse order, see doc). Under GLX similar functions do exist. Greetings - Paolo Leoncini > -----Messaggio originale----- > Da: pli...@li...=20 > [mailto:pli...@li...] Per conto di=20 > Michele Fanti > Inviato: gioved=EC 8 settembre 2005 0.42 > A: pli...@li... > Oggetto: [Plib-users] Using Multiple Window of GLUT >=20 >=20 >=20 > Hello, > I have a problem when use glutCreateSubWindow. > When add a sub window in the code, one of the window > ( depending where I place ssgInit ) could'n visualize=20 > display list and texture. > I've tryed to call ssgInit with current window set on main > and sub window, but the problem continue... > How can use multiple window with Plib and glut ? >=20 > Thank to all and excuse me for my english. >=20 >=20 > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference &=20 > EXPO September 19-22, 2005 * San Francisco, CA * Development=20 > Lifecycle Practices Agile & Plan-Driven Development *=20 > Managing Projects & Teams * Testing & QA Security * Process=20 > Improvement & Measurement * http://www.sqe.com/bsce5sf=20 > _______________________________________________ > plib-users mailing list > pli...@li...=20 > https://lists.sourceforge.net/lists/listinfo/plib-users >=20 |