v0.9.3: fixed some tab/space issues in font rendering code

This commit is contained in:
Evan Debenham 2021-04-03 15:30:30 -04:00
parent 252bcad4d3
commit c43c1e7b93
2 changed files with 35 additions and 34 deletions

View File

@ -139,9 +139,10 @@ public class RenderedText extends Image {
//implements regular PD rendering within a libGDX batch so that our rendering logic
//can interface with the freetype font generator
//some copypasta from BitmapText here
private static class TextRenderBatch implements Batch {
//this isn't as good as only updating once, like with bitmaptext
//this isn't as good as only updating once, like with BitmapText
// but it skips almost all allocations, which is almost as good
private static RenderedText textBeingRendered = null;
private static float[] vertices = new float[16];