- Confirmed icon support for SDL drivers. (icculus patchset #9)

This commit is contained in:
Jamie Wilkinson 2002-12-01 04:07:04 +00:00
parent 3cea7ff14a
commit f1913fdc22

View file

@ -652,12 +652,11 @@ int GLimp_Init( void *hInstance, void *wndProc )
}
#endif
static void SetSDLIcon(void)
{
static void SetSDLIcon(void) {
#include "../data/pixmaps/q2icon.xbm"
SDL_Surface *icon;
SDL_Surface * icon;
SDL_Color color;
Uint8 *ptr;
Uint8 * ptr;
int i, mask;
icon = SDL_CreateRGBSurface(SDL_SWSURFACE, q2icon_width, q2icon_height, 8,