1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
// Copyright 2023 Gabriel Jensen. use crate::dw::app::{App, Gfx}; extern crate gl; use gl::{DeleteProgram}; impl App { pub fn end(&mut self,gfx: &mut Gfx) { eprintln!("ending"); unsafe { DeleteProgram(gfx.shdprg); } // GLFW is automatically "destroyed". } }