We don't need to initialise the VBO here
This commit is contained in:
parent
63d5d766b2
commit
cd7ef93f5e
1 changed files with 0 additions and 1 deletions
|
@ -448,7 +448,6 @@ Backend_Surface* Backend_Init(SDL_Window *p_window)
|
||||||
// Set up Vertex Buffer Object
|
// Set up Vertex Buffer Object
|
||||||
glGenBuffers(1, &vertex_buffer_id);
|
glGenBuffers(1, &vertex_buffer_id);
|
||||||
glBindBuffer(GL_ARRAY_BUFFER, vertex_buffer_id);
|
glBindBuffer(GL_ARRAY_BUFFER, vertex_buffer_id);
|
||||||
glBufferData(GL_ARRAY_BUFFER, 1 * sizeof(VertexBufferSlot), NULL, GL_STREAM_DRAW);
|
|
||||||
|
|
||||||
// Set up the vertex attributes
|
// Set up the vertex attributes
|
||||||
glEnableVertexAttribArray(1);
|
glEnableVertexAttribArray(1);
|
||||||
|
|
Loading…
Add table
Reference in a new issue