Commit 45667617 authored by Thibault Soucarre's avatar Thibault Soucarre

remove some lines that aren't used anymore

parent be3e461c
This diff is collapsed.
......@@ -166,10 +166,7 @@ void Vbo::config(int glsl){
glBufferSubData(GL_ARRAY_BUFFER, vertex_size+colors_size, shaded_size, shaded);
//Deselect our VBO
glBindBuffer(GL_ARRAY_BUFFER, 0);
//Clear RAM
//_vertex.clear();
//_colors.clear();
//Clear RAM and realoccate _vertex and _colors
//Clear RAM and realoccate vectors
std::vector<Element_pos>().swap(_vertex);
std::vector<Element_col>().swap(_colors);
std::vector<char>().swap(_shaded);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment