]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Utils/Input.cpp
Applied clang-format on all files
[lugaru.git] / Source / Utils / Input.cpp
index 06a7b74e649c9f68b513345e2df8f6f98817076b..5249e683df09990d8065d821c47cb92c16eb3170 100644 (file)
@@ -27,7 +27,7 @@ void Input::Tick()
 {
     SDL_PumpEvents();
     int numkeys;
-    const Uint8 *keyState = SDL_GetKeyboardState(&numkeys);
+    const Uint8keyState = SDL_GetKeyboardState(&numkeys);
     for (int i = 0; i < numkeys; i++) {
         keyPressed[i] = !keyDown[i] && keyState[i];
         keyDown[i] = keyState[i];