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] = [