Hi!
There are something trouble me.I will use the same(share) texture in two different OpenGL contexts,But it only display in one.I think it will use wglShareLists,but it not help.
There are the code: www.7forever.com/code.zip (http://www.7forever.com/code.zip)

mikael_aronsson

07-24-2003, 03:45 AM

Hi !

wglShareLists allows you to share displaylists between different rendering contexts, but this does not mean that you can share the textures.

Mikael

jcabeleira

07-24-2003, 07:37 AM

i've bad news:

sharing textures between rendering contexts is impossible.

netvir

07-24-2003, 09:31 AM

Originally posted by jcabeleira:
i've bad news:

sharing textures between rendering contexts is impossible.

Very bad news! http://www.opengl.org/discussion_boards/ubb/frown.gif That is to say I can not do.Very bad,very bad!