2003/08/10 20:33:06
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:04:21 +0000 (07:04 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:04:21 +0000 (07:04 +0000)
darcs-hash:20040130070421-2ba56-78bb1518a63100769d580cce88fe1081e30ed6a3.gz

src/org/xwt/Platform.java
src/org/xwt/Surface.java

index 6f7771f..a64a515 100644 (file)
@@ -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) {
index dba087e..082bb8b 100644 (file)
@@ -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();
     }