   uploading textures to multiple rendering contexts
  Hi there,I want to use the same set of textures in multiple (!) rendering contexts (multiple forms in my application). AFAIK, when uploading a texture to a rendering context, OpenGL supplies an ID specific to that rendering context. I think this means each of my texture objects (i use a selfwritten texture class) needs to store each rendering context it is being uploaded to + a list of corresponding ID values (one for each rendering context). Is that correct?Thanks,Jeroen[Edited by - JeroenNL on June 16, 2006 7:19:17 AM]
  Assuming you're working with windows you should be able to use wglShareLists. Can't remember exactly how it works now but I know it allows you to share textures (amongst other things) between multiple rendering contexts.   ;http://66.199.249.18/opengl/dataSharing/;  Thanks guys - the wglShareLists command was just what I was looking for! :)   