summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-02-29 23:19:04 +0100
committerHampusM <hampus@hampusmat.com>2024-02-29 23:19:04 +0100
commit0cb595fe518dabf85256b612988ea73ae7b91981 (patch)
treebecf6ab7f14ff109877971ed42399e72701b74cb /engine
parent9ef4675ccbd96ecfcf2d93f9eb0439768f967f08 (diff)
fix(engine): stop segfault on exit caused by bad GL function pointers
Diffstat (limited to 'engine')
-rw-r--r--engine/src/lib.rs2
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,
}