A small optimization. The BitmapTextPage does not
require custom updates so it now signifies that.
This commit is contained in:
@@ -59,6 +59,7 @@ class BitmapTextPage extends Geometry {
|
|||||||
|
|
||||||
BitmapTextPage(BitmapFont font, boolean arrayBased, int page) {
|
BitmapTextPage(BitmapFont font, boolean arrayBased, int page) {
|
||||||
super("BitmapFont", new Mesh());
|
super("BitmapFont", new Mesh());
|
||||||
|
setRequiresUpdates(false);
|
||||||
setBatchHint(BatchHint.Never);
|
setBatchHint(BatchHint.Never);
|
||||||
if (font == null) {
|
if (font == null) {
|
||||||
throw new IllegalArgumentException("font cannot be null.");
|
throw new IllegalArgumentException("font cannot be null.");
|
||||||
|
|||||||
Reference in New Issue
Block a user