mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 22:21:18 +02:00
- render bugfix for new font renderer
This commit is contained in:
@@ -131,6 +131,11 @@ void TextFreetypeGL::Render(const char* str, const int len) {
|
||||
glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA );
|
||||
glEnable( GL_TEXTURE_2D );
|
||||
vertex_buffer_render( this->buffer, GL_TRIANGLES, "vtc" );
|
||||
|
||||
glDisable( GL_TEXTURE_2D );
|
||||
glDisable( GL_BLEND );
|
||||
|
||||
glBindTexture(GL_TEXTURE_2D, 0);
|
||||
}
|
||||
|
||||
void TextFreetypeGL::Render(const wchar_t* str, const int len) {
|
||||
|
Reference in New Issue
Block a user