mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 22:30:03 -04:00
Clean up egui_glow painter code
This commit is contained in:
@@ -188,13 +188,7 @@ impl EguiGlow {
|
||||
);
|
||||
}
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
pub fn destroy(&mut self, gl: &glow::Context) {
|
||||
self.painter.destroy(gl)
|
||||
}
|
||||
|
||||
#[cfg(not(debug_assertions))]
|
||||
pub fn destroy(&self, gl: &glow::Context) {
|
||||
self.painter.destroy(gl)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user