From 3590b1ad4ee6c6089b6cd3045bc0d5986f895bc2 Mon Sep 17 00:00:00 2001 From: Aaron Fenyes Date: Mon, 21 Apr 2025 20:06:54 -0700 Subject: [PATCH] Drop unused vertex array object --- app-proto/src/display.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app-proto/src/display.rs b/app-proto/src/display.rs index e7478c1..903193c 100644 --- a/app-proto/src/display.rs +++ b/app-proto/src/display.rs @@ -272,10 +272,6 @@ pub fn Display() -> View { let layer_threshold_loc = ctx.get_uniform_location(&program, "layer_threshold"); let debug_mode_loc = ctx.get_uniform_location(&program, "debug_mode"); - // create a vertex array and bind it to the graphics context - let vertex_array = ctx.create_vertex_array().unwrap(); - ctx.bind_vertex_array(Some(&vertex_array)); - // set the vertex positions const VERTEX_CNT: usize = 6; let positions: [f32; 3*VERTEX_CNT] = [