diff --git a/src/main.cpp b/src/main.cpp index 22e3ef3..2486ff5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,6 +1,7 @@ #include #include #include "input.h" +#include using namespace std; @@ -29,8 +30,8 @@ int main() { cerr << "Hello World!"<< endl; sf::Window* window= new sf::Window(sf::VideoMode(400,200),"testSparrowInput"); + ImGui::CreateContext(); Input myInput(window); - Context context = Context("test",TestKeysMap::getTestContext()); myInput.setKeysMap(TestKeysMap()); myInput.addContext(context);