Shaders modif

This commit is contained in:
Antoine
2021-05-27 00:14:28 +02:00
parent db4e2d0e86
commit dc2b696f7e
4 changed files with 7 additions and 7 deletions

View File

@ -29,7 +29,6 @@ public class VertexArray {
EBO = glGenBuffers();
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, EBO);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, BufferUtils.createByteBuffer(indices), GL_STATIC_DRAW);
glBindBuffer(GL_ARRAY_BUFFER, 0);
glBindVertexArray(0);