Fix text object drawing and a bug in stream buffers used in autobatching

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-01-30 22:11:26 -04:00
parent a3ae0e2279
commit f2597168a2
2 changed files with 2 additions and 1 deletions
@@ -111,6 +111,7 @@ public:
if (offset + minsize > bufferSize)
{
offset = 0;
gl.bindBuffer(mode, vbo);
glBufferData(glMode, bufferSize, nullptr, GL_STREAM_DRAW);
}