From 0cb595fe518dabf85256b612988ea73ae7b91981 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 29 Feb 2024 23:19:04 +0100 Subject: fix(engine): stop segfault on exit caused by bad GL function pointers --- engine/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine') diff --git a/engine/src/lib.rs b/engine/src/lib.rs index a1d9e2f..e39f1c6 100644 --- a/engine/src/lib.rs +++ b/engine/src/lib.rs @@ -41,8 +41,8 @@ pub struct Engine /// Objects have to be dropped before window. Otherwise, UB. objects: BTreeMap, light_source: Option, - window: Window, renderer: Renderer, + window: Window, delta_time: Duration, } -- cgit v1.2.3-18-g5258