X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Fsdl.c;h=f02264d9d27ef0fe5a9c997230bf9aecc3bb1379;hp=52766b17d600c54f88dad072c26e258b0ca91022;hb=d6a1a6cb31174ac804f9ad54a919d65478da588f;hpb=6e44f03074b9b879f97c4ce873962649f9699d2e diff --git a/src/libgame/sdl.c b/src/libgame/sdl.c index 52766b17..f02264d9 100644 --- a/src/libgame/sdl.c +++ b/src/libgame/sdl.c @@ -271,6 +271,7 @@ void SDLInitVideoBuffer(DrawBuffer **backbuffer, DrawWindow **window, Error(ERR_EXIT, "setting video mode failed"); #if 1 + /* !!! SDL2 can only set the window icon if the window already exists !!! */ /* set window icon */ SDLSetWindowIcon(program.sdl_icon_filename); #endif