v0.9.3: fixed some tab/space issues in font rendering code
This commit is contained in:
parent
252bcad4d3
commit
c43c1e7b93
|
@ -139,9 +139,10 @@ public class RenderedText extends Image {
|
||||||
|
|
||||||
//implements regular PD rendering within a libGDX batch so that our rendering logic
|
//implements regular PD rendering within a libGDX batch so that our rendering logic
|
||||||
//can interface with the freetype font generator
|
//can interface with the freetype font generator
|
||||||
|
//some copypasta from BitmapText here
|
||||||
private static class TextRenderBatch implements Batch {
|
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
|
// but it skips almost all allocations, which is almost as good
|
||||||
private static RenderedText textBeingRendered = null;
|
private static RenderedText textBeingRendered = null;
|
||||||
private static float[] vertices = new float[16];
|
private static float[] vertices = new float[16];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user