Skip to content

Commit

Permalink
According to enygmata's findings we can comment this out
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Nov 10, 2016
1 parent 4b03bb9 commit 3f29eed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gfx/drivers_shader/shader_glsl.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,9 @@ 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;
Expand Down

0 comments on commit 3f29eed

Please sign in to comment.