diff --git a/src/Font.cc b/src/Font.cc index 961552d..8567f0d 100644 --- a/src/Font.cc +++ b/src/Font.cc @@ -157,7 +157,6 @@ bool Glyph::load(FT_Face face, FT_ULong char_code) width); } - glActiveTexture(GL_TEXTURE0); m_texture = new GLTexture(); m_texture->create(width, height); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); diff --git a/src/GL.cc b/src/GL.cc index 0b261d9..289aa5a 100644 --- a/src/GL.cc +++ b/src/GL.cc @@ -107,6 +107,7 @@ void GL_Load() } glEnable(GL_SCISSOR_TEST); + glActiveTexture(GL_TEXTURE0); loaded = true; }