don't disable multisampling if smooth is 1

This commit is contained in:
codeanticode
2015-06-09 11:39:00 -04:00
parent 766066bc89
commit dee0e73d12
3 changed files with 19 additions and 15 deletions

View File

@@ -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();
//
//