]> git.sesse.net Git - pistorm/commitdiff
Hide Pi mouse cursor while RTG is active
authorbeeanyew <beeanyew@gmail.com>
Tue, 13 Apr 2021 02:57:03 +0000 (04:57 +0200)
committerbeeanyew <beeanyew@gmail.com>
Tue, 13 Apr 2021 02:57:03 +0000 (04:57 +0200)
platforms/amiga/rtg/rtg-output.c

index 6f218cc797d7f7e17ca336b6b2459daaeed73f91..133ba865de2202ddb24f114eedf58ab1c752db9e 100644 (file)
@@ -100,6 +100,7 @@ reinit_sdl:;
 
     printf("Creating %dx%d SDL2 window...\n", width, height);
     win = SDL_CreateWindow("Pistorm RTG", 0, 0, width, height, 0);
+    SDL_ShowCursor(SDL_DISABLE);
     if (!win) {
         RTG_INIT_ERR("Failed create SDL2 window.\n");
     }