corrected warning message for stroke perspective in 2D

This commit is contained in:
codeanticode
2012-09-01 22:04:59 +00:00
parent 754eb380db
commit a0bdd0d44b

View File

@@ -66,7 +66,7 @@ public class PGraphics2D extends PGraphicsOpenGL {
@Override
public void hint(int which) {
if (which == ENABLE_STROKE_PERSPECTIVE) {
showWarning("2D lines cannot be perspective-corrected.");
showWarning("Strokes cannot be perspective-corrected in 2D.");
return;
}
super.hint(which);