From 94ec4ca482d8f8b2f20796b9bd01613250be89ef Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 07:04:21 +0000 Subject: [PATCH] 2003/08/10 20:33:06 darcs-hash:20040130070421-2ba56-78bb1518a63100769d580cce88fe1081e30ed6a3.gz --- src/org/xwt/Platform.java | 2 ++ src/org/xwt/Surface.java | 1 + 2 files changed, 3 insertions(+) diff --git a/src/org/xwt/Platform.java b/src/org/xwt/Platform.java index 6f7771f..a64a515 100644 --- a/src/org/xwt/Platform.java +++ b/src/org/xwt/Platform.java @@ -65,8 +65,10 @@ public class Platform { else if (version.startsWith("1.1") && vendor.startsWith("Microsoft")) platform_class = "Microsoft"; else if (!version.startsWith("1.0") && !version.startsWith("1.1")) platform_class = "Java2"; + /* // Disable 2d hardware acceleration on Jaguar if (os_name.equals("Mac OS X") && os_version.equals("10.2")) + */ System.setProperty("com.apple.hwaccel", "false"); if (platform_class != null) { diff --git a/src/org/xwt/Surface.java b/src/org/xwt/Surface.java index dba087e..082bb8b 100644 --- a/src/org/xwt/Surface.java +++ b/src/org/xwt/Surface.java @@ -388,6 +388,7 @@ public abstract class Surface { /** Indicates that the backbuffer region x,y,w,h is no longer correct and must be regenerated */ public void dirty(int x, int y, int w, int h) { + x = 0; y = 0; w = 1000; h = 1000; backbufferDirtyRegions.dirty(x, y, w, h); Refresh(); } -- 1.7.10.4