Jawt JNI OpenGL and Multiple Windows
I'm new here so forgive me if this is in the wrong place.
I am working on an app which uses JNI/Jawt to call through from java to native c++ calls to use OpenGL.
I'm having problems when trying to create multiple windows. I can't seem to render to the new window. Both windows are running on the same thread and for each window create I initialise a DC and RC. Then whenever a drawing method is called I make sure the correct DC/RC is made active/wglMakeCurrent.
Any thoughts on what I might be missing out here?
Any help or sugestions greatly appreciated