Fixes wrong assignment of SDL_Color "unused" member in DirectFB backend.
authorGabriel Jacobo
Tue, 26 Feb 2013 13:53:02 -0300
changeset 6930bb6a9d41d737
parent 6929 7fa90e780e2d
child 6931 843f9c1b16b8
Fixes wrong assignment of SDL_Color "unused" member in DirectFB backend.
src/video/directfb/SDL_DirectFB_render.c
     1.1 --- a/src/video/directfb/SDL_DirectFB_render.c	Tue Feb 26 07:50:42 2013 -0800
     1.2 +++ b/src/video/directfb/SDL_DirectFB_render.c	Tue Feb 26 13:53:02 2013 -0300
     1.3 @@ -669,7 +669,7 @@
     1.4              colors[i].r = entries[i].r;
     1.5              colors[i].g = entries[i].g;
     1.6              colors[i].b = entries[i].b;
     1.7 -            colors->unused = SDL_ALPHA_OPAQUE;
     1.8 +            colors[i].unused = SDL_ALPHA_OPAQUE;
     1.9          }
    1.10          return 0;
    1.11      } else {