diff options
Diffstat (limited to 'src/render/gl_2d_font.h')
| -rw-r--r-- | src/render/gl_2d_font.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/gl_2d_font.h b/src/render/gl_2d_font.h index 71154c0..d0c9a71 100644 --- a/src/render/gl_2d_font.h +++ b/src/render/gl_2d_font.h @@ -2,7 +2,7 @@ #include <ft2build.h> #include FT_FREETYPE_H -#include "gl.h" +#include "gl_2d.h" #include "../util/thread.h" extern THREAD_MUTEX font_mutex; @@ -38,6 +38,7 @@ GL_FONT* gl_font_create( GL_DATA* gl, const char* path, I32 size ); void gl_font_destroy( GL_DATA* gl, GL_FONT* font ); void gl_font_draw( GL_FONT* font, GL_SHADER_PROGRAM* shader, VEC2 pos, const char* text, CLR color, F32 scale = 1.0f ); +void gl_font_draw( GL_FONT* font, GL_BATCH2D* batch, VEC2 pos, const char* text, CLR color, F32 scale = 1.0f ); void gl_font_textured( GL_FONT* font, GL_SHADER_PROGRAM* shader, |
