The amazing M$ documentation makes it virtually impossible for me to decide which bloody Rendering context it means for each paramter.The wglShareLists function enables multiple OpenGL rendering contexts to share a single display-list space.
BOOL wglShareLists(
HGLRC hglrc1, // OpenGL rendering context with which to share
// display lists
HGLRC hglrc2 // OpenGL rendering context to share display lists
);
Parameters
hglrc1
Specifies the OpenGL rendering context with which to share display lists.
hglrc2
Specifies the OpenGL rendering context to share display lists with hglrc1. The hglrc2 parameter should not contain any existing display lists when wglShareLists is called.
Which is the original Rendering context (the one associated with the frame buffer when opening the window), rc1, or rc2?
It looks like rc2 to me. That right?
ta,
Nutty
[This message has been edited by Nutty (edited 10-01-2002).]



then normally the texture can't be used by the _first_ context because you haven't shared the resources of the second context...