diff --git a/src/graphics/gl.rs b/src/graphics/gl.rs index d39f364d..4faba324 100644 --- a/src/graphics/gl.rs +++ b/src/graphics/gl.rs @@ -397,10 +397,7 @@ impl GlContext { GL_FRAMEBUFFER_BINDING, &mut default_framebuffer as *mut _ as *mut _, ); - let mut vao = 0; - glGenVertexArrays(1, &mut vao as *mut _); - glBindVertexArray(vao); GlContext { default_framebuffer, shaders: vec![],