Browse Source

graphics performance increase

Eren Yilmaz 6 năm trước cách đây
mục cha
commit
3939b25406
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/animation/AnimatedAlgorithm.java

+ 1 - 1
src/animation/AnimatedAlgorithm.java

@@ -32,7 +32,7 @@ public abstract class AnimatedAlgorithm extends Thread {
     {
         if( renderImage )
         {
-            //renderImage = false;
+            renderImage = false;
             SwingUtilities.invokeLater(new Runnable() {
                 public void run() {
                     for( ComponentListener l : view.getComponentListeners() )