From 851b98888f437e769d5e7995d3b4290a885e4fd3 Mon Sep 17 00:00:00 2001 From: Mario Holubar <34423543+mario-holubar@users.noreply.github.com> Date: Thu, 15 Jun 2023 17:15:35 +0200 Subject: [PATCH] remove unused vertex array --- src/graphics/gl.rs | 3 --- 1 file changed, 3 deletions(-) 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![],