Skip to main content

Jawt JNI OpenGL and Multiple Windows

1 reply [Last post]
Springy
Offline
Joined: 2006-02-17
Points: 0

Hi.

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

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Springy
Offline
Joined: 2006-02-17
Points: 0

Problem sovled. Silly mistake. Please disregard.