change textMode() warnings and messages

This commit is contained in:
benfry
2011-12-08 16:07:22 +00:00
parent aa947859b2
commit 08881569aa

View File

@@ -2813,7 +2813,9 @@ public class PGraphicsOpenGL extends PGraphics {
// public void textMode(int mode)
// protected boolean textModeCheck(int mode)
protected boolean textModeCheck(int mode) {
return mode == MODEL;
}
// public void textSize(float size)
@@ -2912,8 +2914,6 @@ public class PGraphicsOpenGL extends PGraphics {
textCharModelImpl(tinfo, x1, y1, x2, y2);
}
} else {
System.err.println("Unsupported text mode. Only MODEL works at this time.");
}
}