mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-08 04:00:44 +00:00
Font enable
This commit is contained in:
parent
ef14109af1
commit
c7aeb5bc57
@ -133,7 +133,7 @@ void DrawText2(wxString text, float x, float y,TextureFont *font)
|
||||
glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA );
|
||||
glEnable( GL_TEXTURE_2D );
|
||||
glColor4f(1,1,1,1);
|
||||
// vbuffer->Render(GL_TRIANGLES, (char *)"vtc" );
|
||||
vbuffer->Render(GL_TRIANGLES, (char *)"vtc" );
|
||||
glDisable(GL_BLEND);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user