cleanup
This commit is contained in:
parent
0cf31e51c6
commit
c69c17899e
1 changed files with 0 additions and 27 deletions
|
@ -214,33 +214,6 @@ class Font {
|
||||||
glVertexAttribIPointer(2, 1, GL_INT, sizeof(BufferVertex), (void *)offsetof(BufferVertex, bufferIndex));
|
glVertexAttribIPointer(2, 1, GL_INT, sizeof(BufferVertex), (void *)offsetof(BufferVertex, bufferIndex));
|
||||||
glBindVertexArray(0);
|
glBindVertexArray(0);
|
||||||
|
|
||||||
//{
|
|
||||||
//uint32_t charcode = 0;
|
|
||||||
//FT_UInt glyphIndex = 0;
|
|
||||||
//FT_Error error = FT_Load_Glyph(face, glyphIndex, loadFlags);
|
|
||||||
//if(error){
|
|
||||||
//std::cerr << "[font] error while loading undefined glyph: " << error << std::endl;
|
|
||||||
//// Continue, because we always want an entry for the undefined glyph in our glyphs map!
|
|
||||||
//}
|
|
||||||
|
|
||||||
//buildGlyph(charcode, glyphIndex);
|
|
||||||
//}
|
|
||||||
|
|
||||||
//for(uint32_t charcode = 32; charcode < 128; charcode++){
|
|
||||||
//FT_UInt glyphIndex = FT_Get_Char_Index(face, charcode);
|
|
||||||
//if(!glyphIndex){
|
|
||||||
//continue;
|
|
||||||
//}
|
|
||||||
|
|
||||||
//FT_Error error = FT_Load_Glyph(face, glyphIndex, loadFlags);
|
|
||||||
//if(error){
|
|
||||||
//std::cerr << "[font] error while loading glyph for character " << charcode << ": " << error << std::endl;
|
|
||||||
//continue;
|
|
||||||
//}
|
|
||||||
|
|
||||||
//buildGlyph(charcode, glyphIndex);
|
|
||||||
//}
|
|
||||||
|
|
||||||
uploadBuffers();
|
uploadBuffers();
|
||||||
|
|
||||||
#ifndef TARGET_OPENGLES
|
#ifndef TARGET_OPENGLES
|
||||||
|
|
Loading…
Reference in a new issue