mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Issues 931 testing
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import processing.core.PApplet;
|
||||
|
||||
// Reproduction of issue #931
|
||||
// Only seen on Windows
|
||||
public class Issue931 extends PApplet {
|
||||
public void draw(){
|
||||
background(frameCount % 256);
|
||||
text("Hello World "+frameCount, 10, 10);
|
||||
|
||||
frameRate(9999);
|
||||
surface.setSize(frameCount + 100, 100);
|
||||
}
|
||||
public static void main(String[] passedArgs) {
|
||||
String[] appletArgs = new String[]{ Issue931.class.getName()};
|
||||
if (passedArgs != null) {
|
||||
PApplet.main(concat(appletArgs, passedArgs));
|
||||
} else {
|
||||
PApplet.main(appletArgs);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user