text texture animation

This commit is contained in:
devZoGok
2021-10-19 19:06:41 +03:00
parent a4fed6f062
commit bfab74a663
6 changed files with 35 additions and 10 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ namespace vb01{
glBindVertexArray(VAO);
glBindBuffer(GL_ARRAY_BUFFER, VBO);
glBufferSubData(GL_ARRAY_BUFFER, 0, dataSize, data);
glyph.texture->select();
glyph.texture->select(2);
glDrawArrays(GL_TRIANGLES, 0, 6);
}