diff --git a/demo/main.cpp b/demo/main.cpp index 932f0bfd314abf1bbe0e1f5bb7df7bcfd1f83c62..8b80be9d5f0de604366367e2fbdbb0c972d35fb9 100644 --- a/demo/main.cpp +++ b/demo/main.cpp @@ -198,6 +198,7 @@ int main(int argc, char* argv[]) { fggl::gfx::Input& input = fggl::gfx::Input::instance(); bool joystickWindow = true; + bool gamepadWindow = true; float time = 0.0f; float dt = 16.0f; @@ -263,7 +264,7 @@ int main(int argc, char* argv[]) { ImGui::End(); // imgui gamepad debug - ImGui::Begin("GamePad", &joystickWindow); + ImGui::Begin("GamePad", &gamepadWindow); for ( int i=0; i<16; i++ ) { std::string title = "GamePad " + std::to_string(i);