Re: Unable to create temp OpenGL context for device context
Posted by
Rami Santina on
Jun 21, 2011; 9:02am
URL: https://forum.jogamp.org/Unable-to-create-temp-OpenGL-context-for-device-context-tp3089571p3089868.html
Hi,
Looking at the code line 250:
Animator animator = new Animator(getGlCanvas());
animator.add(getGlCanvas());
u add the canvas twice one at cnstr and another using add, could cause
a problem. (at least will call display twice!)
plus run it with sun.awt.noerasebackground=true
also you need to call setVisible(true) at creation of the container.
you can also run it with jogl.debug.Animator to get debug messages to
see whats happening.
Cheers,
On Tue, Jun 21, 2011 at 10:34 AM, Makoto [via jogamp]
<
[hidden email]> wrote:
> jogl-2.0-b23-20110303-windows-amd64
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
>
http://forum.jogamp.org/Unable-to-create-temp-OpenGL-context-for-device-context-tp3089571p3089624.html> To start a new topic under jogamp, email
>
[hidden email]
> To unsubscribe from jogamp, click here.