diff options
-rw-r--r-- | gl4java/awt/GLCanvas.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gl4java/awt/GLCanvas.java b/gl4java/awt/GLCanvas.java index aea730d..cbfebaa 100644 --- a/gl4java/awt/GLCanvas.java +++ b/gl4java/awt/GLCanvas.java @@ -189,7 +189,8 @@ public class GLCanvas extends Canvas // the code flow significantly enough that this optimization // breaks // - useRepaint is false - enableAWTThreadRendering = !((getClass() == GLAnimCanvas.class) && !getUseRepaint()); + enableAWTThreadRendering = + ! ( (getClass() == GLAnimCanvas.class) && !getUseRepaint() ); } static { |