summaryrefslogtreecommitdiff
path: root/engine/src/renderer/opengl.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-11-11 00:14:06 +0100
committerHampusM <hampus@hampusmat.com>2024-11-11 00:14:06 +0100
commit06750934c33a8b1458d60fe8d877bbf29ffda955 (patch)
tree52514b60628372c4e8c96d5f2bf6447e69eb23be /engine/src/renderer/opengl.rs
parentbfcb849fdf37412e0c61fd0b6f843caa6c4668a9 (diff)
chore(engine): use new entity IDs
Diffstat (limited to 'engine/src/renderer/opengl.rs')
-rw-r--r--engine/src/renderer/opengl.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/engine/src/renderer/opengl.rs b/engine/src/renderer/opengl.rs
index 463e654..a353c6a 100644
--- a/engine/src/renderer/opengl.rs
+++ b/engine/src/renderer/opengl.rs
@@ -174,8 +174,10 @@ fn render(
new_gl_objects = Some(gl_objects.clone());
- actions
- .add_components(query.entity_uid(entity_index).unwrap(), (gl_objects,));
+ actions.add_components(
+ query.get_entity_uid(entity_index).unwrap(),
+ (gl_objects,),
+ );
&*new_gl_objects.unwrap()
};