Skip to content

Commit

Permalink
Fix incorrect code snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisThrasher committed Jan 3, 2025
1 parent 6a36786 commit 5e8f8fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Using ImGui-SFML in your code

```cpp
while (const auto event = window.pollEvent()) {
ImGui::SFML::ProcessEvent(window, event);
ImGui::SFML::ProcessEvent(window, *event);
...
}
```
Expand Down

0 comments on commit 5e8f8fb

Please sign in to comment.