PDA

View Full Version : share textures among RCs in different threads,is it possible?



pango
04-10-2004, 06:19 AM
I create a render context in main thread and a work thread,and in main thread I call wglShareLists() to share textures among the 2 RCs,but the wglShareLists() return false,why?Is it possible that the RCs in different threads can share same textures?

dslprog
04-10-2004, 07:03 AM
You first have to make sure that both RC's have the same pixel format.