diff --git a/build/amd64/debian/control b/build/amd64/debian/control index b8ba120..70fc822 100644 --- a/build/amd64/debian/control +++ b/build/amd64/debian/control @@ -1,5 +1,5 @@ Package: heart-of-ice -Version: 1.0.3 +Version: 1.0.4 Maintainer: Dael Separa Architecture: amd64 Description: Heart of Ice (SDL) diff --git a/src/input.hpp b/src/input.hpp index a221942..88fe8a2 100644 --- a/src/input.hpp +++ b/src/input.hpp @@ -70,7 +70,7 @@ namespace Input while (1) { - SDL_PollEvent(&result); + SDL_WaitEvent(&result); if (result.type == SDL_QUIT) { @@ -341,7 +341,7 @@ namespace Input while (1) { - SDL_PollEvent(&result); + SDL_WaitEvent(&result); if (result.type == SDL_QUIT) {