projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20131217-2-src
[rocksndiamonds.git]
/
src
/
libgame
/
sdl.c
diff --git
a/src/libgame/sdl.c
b/src/libgame/sdl.c
index 52766b17d600c54f88dad072c26e258b0ca91022..f02264d9d27ef0fe5a9c997230bf9aecc3bb1379 100644
(file)
--- 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
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
/* set window icon */
SDLSetWindowIcon(program.sdl_icon_filename);
#endif