Sharing textures across multiple windows

  • Follow


Hi All,
  I'm using GLUT to create a number of windows. I need these windows
to share textures. I've been using wglShareLists(context1, context2)
to share textures between two windows which works well. However, how
do I use this to share textures across more than 2 windows?. Can I do

wglShareLists (con1, con2);
wglShareLists (con2, con3)
wglShareLists (con3, con4)

to share amongst 4 contexts?. These are all rendered from the same
thread (ie. it's a single threaded app).

Ta in advance,
Dave

0
Reply dave_m_moore (31) 5/9/2007 1:17:21 PM

On May 9, 3:17 pm, Dave <dave_m_mo...@post2me.freeserve.co.uk> wrote:
> Can I do
>
> wglShareLists (con1, con2);
> wglShareLists (con2, con3)
> wglShareLists (con3, con4)
>
> to share amongst 4 contexts?

Yes.


--
<\___/>
/ O O \
\_____/  FTB.     Remove my socks for email address.


0
Reply fungus 5/9/2007 5:40:39 PM


1 Replies
324 Views

(page loaded in 0.047 seconds)

Similiar Articles:













7/14/2012 4:10:47 PM


Reply: