Skip to content

Commit 5e8f8fb

Browse files
committed
Fix incorrect code snippet
1 parent 6a36786 commit 5e8f8fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Using ImGui-SFML in your code
7474

7575
```cpp
7676
while (const auto event = window.pollEvent()) {
77-
ImGui::SFML::ProcessEvent(window, event);
77+
ImGui::SFML::ProcessEvent(window, *event);
7878
...
7979
}
8080
```

0 commit comments

Comments
 (0)