gavioto / playn

Automatically exported from code.google.com/p/playn
0 stars 0 forks source link

Java should clear frames between paint calls #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Simple patch to JavaPlatform:

             int width = component.getWidth();
             int height = component.getHeight();
             JavaCanvas canvas = new JavaCanvas((Graphics2D) g, width, height);
+           canvas.clear();
             graphics.rootLayer().paint(canvas);

Original issue reported on code.google.com by mmast...@gmail.com on 4 Jan 2012 at 12:08

GoogleCodeExporter commented 9 years ago
Patch here:

http://code.google.com/r/mmastrac-playn/source/detail?r=934bbcc1a9dd1c85be6bf054
c809b046a8fab88d&name=java-platform-background

Original comment by mmast...@gmail.com on 8 Jan 2012 at 12:15

GoogleCodeExporter commented 9 years ago
Fixed: 
http://code.google.com/r/mmastrac-playn/source/detail?r=934bbcc1a9dd1c85be6bf054
c809b046a8fab88d&name=java-platform-background#

Original comment by mmast...@gmail.com on 9 Jan 2012 at 9:39