diff options
author | HampusM <hampus@hampusmat.com> | 2024-02-29 23:19:04 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-02-29 23:19:04 +0100 |
commit | 0cb595fe518dabf85256b612988ea73ae7b91981 (patch) | |
tree | becf6ab7f14ff109877971ed42399e72701b74cb /engine/src | |
parent | 9ef4675ccbd96ecfcf2d93f9eb0439768f967f08 (diff) |
fix(engine): stop segfault on exit caused by bad GL function pointers
Diffstat (limited to 'engine/src')
-rw-r--r-- | engine/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<CameraT> /// Objects have to be dropped before window. Otherwise, UB. objects: BTreeMap<ObjectId, Object>, light_source: Option<LightSource>, - window: Window, renderer: Renderer<CameraT>, + window: Window, delta_time: Duration, } |