1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00

Code cleanup: correct class TextDrawer definition.

This commit is contained in:
Sergey Lipskiy 2015-06-13 11:55:50 +06:00
parent 68941f6cbe
commit a13e6322d9

View File

@ -4,13 +4,15 @@
class TextDrawer class TextDrawer
{ {
friend class OGLRender;
TextDrawer();
void init(); void init();
void destroy(); void destroy();
void renderText(const char *_pText, float x, float y) const; void renderText(const char *_pText, float x, float y) const;
static TextDrawer & get(); static TextDrawer & get();
private:
TextDrawer();
TextDrawer(const TextDrawer &);
friend class OGLRender;
struct Atlas * m_pAtlas; struct Atlas * m_pAtlas;
GLuint m_program; GLuint m_program;
GLint m_uTex; GLint m_uTex;