WGL question


Hi,

Is it possible to share the same rendering context (RC) between two Device Contexts (DC) ?
Not at the same time ? (I mean use a RC on one DC and then the same RC on another DC ?).

Related matter: Apparently wglCopyContext does not copy ‘everything’ in a RC. Why is that ? What’s not copied ? What are the limitations ?

Thanks.

Julien.

Yup,

Infact it is much better to use only one RC because they are quite expensive to create -in terms of processing.

you can create the RC once and then use wglMakeCurrent to 'activate’it for use with your DC.

kev.