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.
HGLRC hglrc1, // OpenGL rendering context with which to share
// display lists
HGLRC hglrc2 // OpenGL rendering context to share display lists
Specifies the OpenGL rendering context with which to share display lists.
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?
[This message has been edited by Nutty (edited 10-01-2002).]