diff options
author | Kenneth Russel <[email protected]> | 2001-11-11 01:28:34 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2001-11-11 01:28:34 +0000 |
commit | 1926b81fb05378240dc5a9b6be3a5520bd7b8d90 (patch) | |
tree | cbc053e19a462bca3b896b13d7aeb0607ead2939 /gl4java/awt/GLAnimCanvas.java | |
parent | dd631860774a4c8739179b150f771acce9829d1d (diff) |
Added automatic disabling of rendering from AWT thread for GLAnimCanvases when useRepaint is false for better stability with NVidia drivers
Diffstat (limited to 'gl4java/awt/GLAnimCanvas.java')
-rw-r--r-- | gl4java/awt/GLAnimCanvas.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gl4java/awt/GLAnimCanvas.java b/gl4java/awt/GLAnimCanvas.java index b35f765..8cd973c 100644 --- a/gl4java/awt/GLAnimCanvas.java +++ b/gl4java/awt/GLAnimCanvas.java @@ -311,6 +311,7 @@ public class GLAnimCanvas extends GLCanvas public synchronized void setUseRepaint(boolean b) { useRepaint = b; + recomputeAWTThreadRendering(); } /** |