diff options
author | Kenneth Russel <[email protected]> | 2006-05-29 13:15:11 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2006-05-29 13:15:11 +0000 |
commit | 7c8cc4587c239fbfa95fc8eeaf004284b7718b87 (patch) | |
tree | ebbe8230bd72b50b01b35e4d4de84ed052e4ba94 | |
parent | 176150375871c882f29fbcb47e24c1fd3da06cc4 (diff) |
Turned down max FPS to 60 to avoid swamping CPU and locking out
WToolkit thread in particular when Java2D OpenGL pipeline and
Java2D/JOGL bridge are activated
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@180 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
-rwxr-xr-x | src/demos/particles/engine/ControlWindow.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/particles/engine/ControlWindow.java b/src/demos/particles/engine/ControlWindow.java index 8beb8ee..8268e6f 100755 --- a/src/demos/particles/engine/ControlWindow.java +++ b/src/demos/particles/engine/ControlWindow.java @@ -91,7 +91,7 @@ public class ControlWindow extends JFrame implements ActionListener, ChangeListe // Engine components numParticles = new Integer(1000); engine = new Engine(numParticles.intValue(), "demos/particles/engine/images/particle.jpg"); - glComponent = new GLComponent(100, new RGBA(0.0f, 0.0f, 0.0f, 1.0f), new RGBA(0.0f, 0.0f, 0.0f, 1.0f), engine); + glComponent = new GLComponent(60, new RGBA(0.0f, 0.0f, 0.0f, 1.0f), new RGBA(0.0f, 0.0f, 0.0f, 1.0f), engine); // Close and reset buttons resetButton = new JButton("Reset"); |