aboutsummaryrefslogtreecommitdiffstats
path: root/gl4java/awt/GLAnimCanvas.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2001-11-11 01:28:34 +0000
committerKenneth Russel <[email protected]>2001-11-11 01:28:34 +0000
commit1926b81fb05378240dc5a9b6be3a5520bd7b8d90 (patch)
treecbc053e19a462bca3b896b13d7aeb0607ead2939 /gl4java/awt/GLAnimCanvas.java
parentdd631860774a4c8739179b150f771acce9829d1d (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.java1
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();
}
/**