]> git.mxchange.org Git - quix0rs-blobwars.git/commitdiff
Set the window icon.
authorGuus Sliepen <guus@debian.org>
Sat, 21 Nov 2015 19:54:03 +0000 (20:54 +0100)
committerGuus Sliepen <guus@debian.org>
Sat, 21 Nov 2015 19:54:03 +0000 (20:54 +0100)
src/init.cpp

index b461e7bfad1de9906fbd893b3839544b5bd723e3..8d13a502bca3ad6e80c2cd0adeab52cee8000d95 100644 (file)
@@ -414,7 +414,7 @@ void initSystem()
        graphics.license[1] = graphics.loadImage("gfx/main/cc-by-sa.png", true);
 
        SDL_Surface *device = graphics.loadImage("gfx/main/alienDevice.png");
-
+       SDL_SetWindowIcon(graphics.window, device);
        SDL_FreeSurface(device);
        
        if (strstr(engine.userHomeDirectory, "/root"))