src/video/directfb/SDL_DirectFB_window.c
changeset 5288 d4381f3b0d1e
parent 5262 b530ef003506
child 5478 6b65ff3cee62
     1.1 --- a/src/video/directfb/SDL_DirectFB_window.c	Sun Feb 13 01:31:07 2011 -0800
     1.2 +++ b/src/video/directfb/SDL_DirectFB_window.c	Sun Feb 13 13:46:10 2011 -0800
     1.3 @@ -220,8 +220,7 @@
     1.4          int pitch, i;
     1.5  
     1.6          /* Convert the icon to ARGB for modern window managers */
     1.7 -        SDL_InitFormat(&format, 32, 0x00FF0000, 0x0000FF00, 0x000000FF,
     1.8 -                       0xFF000000);
     1.9 +        SDL_InitFormat(&format, SDL_PIXELFORMAT_ARGB8888);
    1.10          surface = SDL_ConvertSurface(icon, &format, 0);
    1.11          if (!surface) {
    1.12              return;