set active texture in GL, not Font module
This commit is contained in:
parent
81d5bca7bb
commit
f17351072f
@ -157,7 +157,6 @@ bool Glyph::load(FT_Face face, FT_ULong char_code)
|
|||||||
width);
|
width);
|
||||||
}
|
}
|
||||||
|
|
||||||
glActiveTexture(GL_TEXTURE0);
|
|
||||||
m_texture = new GLTexture();
|
m_texture = new GLTexture();
|
||||||
m_texture->create(width, height);
|
m_texture->create(width, height);
|
||||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
|
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user