diff options
| author | Oskari Timperi <oswjk@users.noreply.github.com> | 2020-02-09 00:03:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-09 00:03:40 +0200 |
| commit | 7c18aedbb4e9aecd4c2072154e6bbe16a8bbbffc (patch) | |
| tree | 554f4a1988088043b406d10ef8854b5232779b8d | |
| parent | 835024e0e58999b3bdbdad2837fe53bec7e71f37 (diff) | |
| download | raylib-imgui-template-master.tar.gz raylib-imgui-template-master.zip | |
This is needed for handling keyboard input to ImGui
| -rw-r--r-- | {{cookiecutter.project_name}}/src/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/{{cookiecutter.project_name}}/src/main.cpp b/{{cookiecutter.project_name}}/src/main.cpp index 49b1fba..a7c6ed2 100644 --- a/{{cookiecutter.project_name}}/src/main.cpp +++ b/{{cookiecutter.project_name}}/src/main.cpp @@ -23,6 +23,7 @@ int main(int argc, char* argv[]) ImGui_ImplOpenGL3_NewFrame(); ImGui_ImplRaylib_NewFrame(); ImGui::NewFrame(); + ImGui_ImplRaylib_ProcessEvent(); BeginDrawing(); |
