diff options
Diffstat (limited to 'engine/src/renderer')
-rw-r--r-- | engine/src/renderer/opengl.rs | 6 |
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() }; |