Fixes wrong assignment of SDL_Color "unused" member in DirectFB backend.

This commit is contained in:
Gabriel Jacobo 2013-02-26 13:53:02 -03:00
parent 3269062684
commit 1984b3b92e

View file

@ -669,7 +669,7 @@ DirectFB_GetTexturePalette(SDL_Renderer * renderer,
colors[i].r = entries[i].r;
colors[i].g = entries[i].g;
colors[i].b = entries[i].b;
colors->unused = SDL_ALPHA_OPAQUE;
colors[i].unused = SDL_ALPHA_OPAQUE;
}
return 0;
} else {