processing4 icon indicating copy to clipboard operation
processing4 copied to clipboard

having noSmooth(); in steup will trigger a duplicate settings() warning

Open clankill3r opened this issue 1 year ago • 1 comments

Processing 4.3 Windows 10

I thought I was going crazy :)

void settings() {
 
}

void setup() {
  noSmooth();
}

Screenshot 2024-02-18 223447

clankill3r avatar Feb 18 '24 21:02 clankill3r

Yeah, happened to me a couple of times with noSmooth() or smooth(). That must go into settings() . But, on the other hand, settings() are very restrictive, you cannot have eg. frameRate(), background(), stroke(), fill(), noCursor(), surface.setVisible() etc. in there - you'll get NullPointerException.

JuzerNejm10 avatar Mar 08 '24 16:03 JuzerNejm10