AndEngine
AndEngine copied to clipboard
Ugly text in Text on GLES2
Please, add :
bufferData[bufferDataOffset + 0 * Text.VERTEX_SIZE + Text.VERTEX_INDEX_X] = x;
before :

bufferData[bufferDataOffset + 0 * Text.VERTEX_SIZE + Text.VERTEX_INDEX_Y] = y; bufferData[bufferDataOffset + 0 * Text.VERTEX_SIZE + Text.TEXTURECOORDINATES_INDEX_U] = u; bufferData[bufferDataOffset + 0 * Text.VERTEX_SIZE + Text.TEXTURECOORDINATES_INDEX_V] = v; in HighPerformanceTextVertexBufferObject.class Because, current implementation is corrupted text
It's already there: https://github.com/nicolasgramlich/AndEngine/blob/GLES2/src/org/andengine/entity/text/vbo/HighPerformanceTextVertexBufferObject.java#L121