From 06750934c33a8b1458d60fe8d877bbf29ffda955 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 11 Nov 2024 00:14:06 +0100 Subject: chore(engine): use new entity IDs --- engine/src/renderer/opengl.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engine/src/renderer') 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() }; -- cgit v1.2.3-18-g5258