mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
don't disable multisampling if smooth is 1
This commit is contained in:
@@ -357,6 +357,16 @@ public abstract class PGL {
|
||||
}
|
||||
|
||||
|
||||
static protected int smoothToSamples(int smooth) {
|
||||
if (smooth == 0) {
|
||||
return 1;
|
||||
} else if (smooth == 1) {
|
||||
return 2;
|
||||
} else {
|
||||
return smooth;
|
||||
}
|
||||
}
|
||||
|
||||
// public abstract Object getCanvas();
|
||||
//
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user