aglShareLists()?

rvangaal
Unregistered
 
Post: #1
Hi,

Yesterday I searched for aglShareLists(), the equivalent of wglShareLists() on Win32's WGL, and Unix' glXCreateContext(...,shareContext). I couldn't find it however.

I did think I saw this function in an earlier Mac OSX?!
Anyway, what I'm trying to do is share the texture space between 2 contexts; I need that for my apps to work correctly over multiple platforms (Unix-GLX/Win32/Mac). Is there anything I can do to share textures over 2 OpenGL contexts?

BTW My 10.2.3 OpenGL framework is version 1.2.1; the gl.h file though include defines for upto OpenGL1.4. Is it safe to use OpenGL1.4 functions then?

Thanks.
Quote this message in a reply
Hog
Member
Posts: 151
Joined: 2002.09
Post: #2
you can pass the first context to the second when calling

AGLContext aglCreateContext(AGLPixelFormat pix, AGLContext share);
Quote this message in a reply
rvangaal
Unregistered
 
Post: #3
Ah, thanks!
How I could have missed that...? Blush
Quote this message in a reply
Post Reply