X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsdl.c;h=f02264d9d27ef0fe5a9c997230bf9aecc3bb1379;hb=d6a1a6cb31174ac804f9ad54a919d65478da588f;hp=52766b17d600c54f88dad072c26e258b0ca91022;hpb=39d01b9327d78c44d36894a0a442a7c45a19849f;p=rocksndiamonds.git 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