Revert "Use GL_STREAM_DRAW"

This reverts commit df4107b541.
This commit is contained in:
twinaphex 2016-11-11 18:34:06 +01:00
parent df4107b541
commit 849cc591bc

View File

@ -506,7 +506,7 @@ static void gl_glsl_set_vbo(GLfloat **buffer, size_t *buffer_elems,
memcpy(*buffer, data, elems * sizeof(GLfloat));
#endif
glBufferData(GL_ARRAY_BUFFER, elems * sizeof(GLfloat),
data, GL_STREAM_DRAW);
data, GL_STATIC_DRAW);
*buffer_elems = elems;
}
}