X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fgraphics%2FSurface.java;h=ebf4670fd656024da0e7d13514f865955e01ffaf;hp=0f29914fe1621e1cd1430a6a4b07621696227941;hb=05d23fde131a7d19b378c632c6cc6b7924d8ab4d;hpb=81eda5b4fc7bdf083aa6af02c971d3a75a3c39d5 diff --git a/src/org/ibex/graphics/Surface.java b/src/org/ibex/graphics/Surface.java index 0f29914..ebf4670 100644 --- a/src/org/ibex/graphics/Surface.java +++ b/src/org/ibex/graphics/Surface.java @@ -173,7 +173,7 @@ public abstract class Surface implements Callable { pendingHeight = height; syncRootBoxToSurface = true; abort = true; - Platform.Scheduler.renderAll(); + Refresh(); } // FEATURE: can we avoid creating objects here? @@ -412,8 +412,9 @@ public abstract class Surface implements Callable { // This is how subclasses signal a 'shallow dirty', indicating that although the backbuffer is valid, the screen is not public final void Dirty(int x, int y, int w, int h) { - screenDirtyRegions.dirty(x, y, w, h); - Platform.Scheduler.renderAll(); + //screenDirtyRegions.dirty(x, y, w, h); + //Refresh(); + blit(x,y,w,h); } public void dirty(int x, int y, int w, int h) {