2003/12/29 03:27:43
[org.ibex.core.git] / src / org / xwt / plat / Darwin.java
index 14bdecb..a4f533e 100644 (file)
@@ -83,7 +83,7 @@ public class Darwin extends POSIX {
             openGL = new CarbonOpenGL();
             openGL.init();
         } catch(OpenGL.NotSupportedException e) {
-            Log.log(this,"WARNING: OpenGL support not available: " + e);
+            Log.info(this,"WARNING: OpenGL support not available: " + e);
             // FEATURE: fall back to quartz 2d
             throw new Error("No OpenGL support");
         }
@@ -121,7 +121,7 @@ public class Darwin extends POSIX {
             maxAglSurfaceTexSize = rectangularTextures ? maxRectTexSize : maxTexSize;
             if(renderer.startsWith("ATI Radeon 7500")) {
                 maxAglSurfaceTexSize = Math.min(rectangularTextures ? 1600 : 1024,maxAglSurfaceTexSize);
-                Log.log(this,"Working around Radeon 7500 bug: maxAglSurfaceTexSize: " + maxAglSurfaceTexSize);
+                Log.info(this,"Working around Radeon 7500 bug: maxAglSurfaceTexSize: " + maxAglSurfaceTexSize);
             }
             maxSurfaceWidth = maxSurfaceHeight = maxAglSurfaceTexSize;
         }
@@ -259,7 +259,7 @@ public class Darwin extends POSIX {
         
         
         // The blit_lock ensures the window size does not change through the entire blit operation.
-        public void render_() {
+        public void render() {
             blitLock();
             while(pendingResize) blitWait();
             if(needsReshape) {
@@ -270,7 +270,7 @@ public class Darwin extends POSIX {
                 Dirty(0,0,winWidth,winHeight);
                 //Dirty(0,0,getWidth(),getHeight());
             }
-            super.render_();
+            super.render();
             flush();
             blitUnlock();
         }