Skip to content

Commit

Permalink
Remove if 0 for memcpy
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Nov 11, 2016
1 parent 72161ac commit 8551cc4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gfx/drivers_shader/shader_glsl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8551cc4

Please sign in to comment.