Open cacheflowe opened 1 year ago
Changing this to an enhancement request in case there's a way we can query GL for the max setting rather than getting these errors. I seem to recall there was not back when this first went in, but that was a long time ago, so maybe it's changed (or I'm mistaken and I just didn't have time to track it down).
I don't think this really needs to be addressed, but I wanted to make note of the error, since I didn't find any info elsewhere. I was moving a Java project to Mac from Windows (where this isn't a problem), and it took me a bit to figure out what was causing the error.
On a Silicon Mac (I'm on an M1) with Processing 4.2, setting
smooth(8)
insetup()
has a weird side-effect of breaking PGraphics. I now see in the smooth() documentation that8
is a valid value, but not on all machines. This makes sense, and probably explains the error, noted below. The problem goes away if I usesmooth(4)
instead!The code:
The error:
If I comment out the drawing on
pg
, the error changes, and the app doesn't completely crash:The code:
The error: