summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 4d050fc..be24747 100644
--- a/main.cpp
+++ b/main.cpp
@@ -29,6 +29,7 @@ int main(int argc, char **argv) {
Scene *scene = new Scene();
SDL_ShowCursor(SDL_DISABLE);
+ SDL_EnableUNICODE(1);
SDL_WarpMouse(video::width/2, video::height/2);
scene->last_time = SDL_GetTicks();