Make it compile

This commit is contained in:
Christoph Oelckers 2018-06-12 10:58:32 +02:00
commit 3385e28611
5 changed files with 14 additions and 4 deletions

View file

@ -68,6 +68,6 @@ void GLUniformBuffer::SetData(const void *data)
if (mBufferId != 0)
{
glBindBuffer(GL_UNIFORM_BUFFER, mBufferId);
glBufferData(GL_UNIFORM_BUFFER, size, data, mStaticDraw? GL_STATIC_DRAW : GL_STREAM_DRAW);
glBufferData(GL_UNIFORM_BUFFER, mSize, data, mStaticDraw? GL_STATIC_DRAW : GL_STREAM_DRAW);
}
}