Skip to content

Commit 35a04c0

Browse files
committed
Fixed: Typo in readme
1 parent e923eea commit 35a04c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1611,7 +1611,7 @@ The command buffer provided by the iterator is committed in a safe manner when t
16111611
// the iteration is over in a safe manner (takes into account other threads
16121612
// and only applies the changes when no ECS threads are doing changes).
16131613
// This is the recommended way for most use cases.
1614-
ecs::Query q = w.query().add<Position>();
1614+
ecs::Query q = w.query().all<Position>();
16151615
q.each([&](ecs::Iter& it) {
16161616
ecs::CommandBufferST& cb = it.cmd_buffer_st();
16171617

0 commit comments

Comments
 (0)