README-hg.txt
author Sam Lantinga <slouken@libsdl.org>
Sun, 14 Jul 2013 18:17:28 -0700
changeset 7523 9e9ab1dc3811
parent 7241 28602f5ca96d
permissions -rw-r--r--
Fixed bug 1919 - Window icon disappears as soon as a renderer is created

Sebastian

Setting a window icon works just fine until a renderer is added to the window.
After adding the renderer the icon disappears.

Reproduce by:
- Take the example code from the wiki: http://wiki.libsdl.org/moin.fcg/SDL_SetWindowIcon

- Add the following two lines after SDL_FreeSurface(surface);
SDL_Delay(1000);
SDL_Renderer* ren = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED);

-compile and run

You will see the window icon correctly at first. After the Delay the Icon will disappear.
     1 The latest development version of SDL is available via Mercurial.
     2 Mercurial allows you to get up-to-the-minute fixes and enhancements;
     3 as a developer works on a source tree, you can use "hg" to mirror that
     4 source tree instead of waiting for an official release. Please look
     5 at the Mercurial website ( http://mercurial.selenic.com/ ) for more
     6 information on using hg, where you can also download software for
     7 Mac OS X, Windows, and Unix systems.
     8 
     9   hg clone http://hg.libsdl.org/SDL
    10 
    11 If you are building SDL with an IDE, you will need to copy the file
    12 include/SDL_config.h.default to include/SDL_config.h before building.
    13 
    14 If you are building SDL via configure, you will need to run autogen.sh
    15 before running configure.
    16 
    17 There is a web interface to the subversion repository at:
    18 
    19 	http://hg.libsdl.org/SDL/
    20 
    21 There is an RSS feed available at that URL, for those that want to
    22 track commits in real time.
    23