Re: JOGL display update problem
Posted by
polirol on
Dec 29, 2012; 8:57pm
URL: https://forum.jogamp.org/JOGL-display-update-problem-tp4027643p4027647.html
Thanks for the info about the imports and glFlush.
As for the display() call, I removed it because it does not work.
I tried to put it just after t+=0.05f; in the keyPressed method:
[...]
public void keyPressed(...)
{
[...]
t+=0.05f;
display();
}
Reply to your edit: I also don't see why it is not working... :(, I have seen lots of examples using key events in JOGL and I don't think mine is that different. However frames are just not updating. I found this while surfing the web :
http://forum.jogamp.org/display-called-repeatedly-yet-screen-not-updated-td2979558.html and as far as I understand the problem is very similar. Looks like a bug for freeBSD, but I use windows 7 with jogl-2.0-b867-20121204-windows-amd64. Can it be a bug or a conflicting issue between this specific JOGL version with my JDK?