summaryrefslogtreecommitdiffstats
path: root/src/demos/particles/engine
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-05-29 13:15:11 +0000
committerKenneth Russel <[email protected]>2006-05-29 13:15:11 +0000
commit7c8cc4587c239fbfa95fc8eeaf004284b7718b87 (patch)
treeebbe8230bd72b50b01b35e4d4de84ed052e4ba94 /src/demos/particles/engine
parent176150375871c882f29fbcb47e24c1fd3da06cc4 (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
Diffstat (limited to 'src/demos/particles/engine')
-rwxr-xr-xsrc/demos/particles/engine/ControlWindow.java2
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");