View Full Version : How to use the same(share) texture in different OpenGL contexts.

07-28-2003, 05:49 AM
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)

07-28-2003, 10:10 PM
wglShareLists is the answer and it should work. The spec states that both GL contexts must share the same pixel format so maybe that is your problem (I rapidly went through split2.cpp and split2view.cpp and didn't notice anything particular)