From: Richard R. <sf...@ol...> - 2005-06-17 21:47:27
|
On Fri, Jun 17, 2005 at 11:45:37AM -0400, Varley, Andrew wrote: > > Thanks for the help glutSetOption worked perfectly for sharing the > textures. However, I am trying to be able to render different images > (orientation etc) into separate windows and > glutSetOPtion(GLUT_RENDERING_CONTEXT, GLUT_USE_CURRENT_CONTEXT) works > for sharing the textures but is it also sharing something else becaseu I > can't seem to separate the geometry. If one window does something like > even reshape the other window does it as well. Any thoughts??? I haven't personally needed to use shared rendering contexts, and it's not 100% clear to me what you mean. But that sounds like a bug, to me. What happens if, at the top of your drawing code for a window, you call your window's reshape callback? (I assume that all that you do is set the OpenGL drawing size and such.) -- "I probably don't know what I'm talking about." http://www.olib.org/~rkr/ |