From: Guus Sliepen Date: Sat, 21 Nov 2015 19:54:03 +0000 (+0100) Subject: Set the window icon. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a3b2a62b4987b16c537ae814c298753c1be28fc3;p=quix0rs-blobwars.git Set the window icon. --- diff --git a/src/init.cpp b/src/init.cpp index b461e7b..8d13a50 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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"))