Remove if 0 for memcpy

This commit is contained in:
twinaphex 2016-11-11 22:54:03 +01:00
parent 72161acbd3
commit 8551cc4f9b

View File

@ -502,9 +502,7 @@ static void gl_glsl_set_vbo(GLfloat **buffer, size_t *buffer_elems,
*buffer = new_buffer;
}
#if 0
memcpy(*buffer, data, elems * sizeof(GLfloat));
#endif
glBufferData(GL_ARRAY_BUFFER, elems * sizeof(GLfloat),
data, GL_STATIC_DRAW);
*buffer_elems = elems;