From 90afb94ec6551597a65c2cf03a54d26e82bf2c3d Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Sat, 28 Sep 2013 12:48:26 +0200 Subject: [PATCH] Corrected name of SDL_Color field from unused to a. --- src/video/directfb/SDL_DirectFB_render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/directfb/SDL_DirectFB_render.c b/src/video/directfb/SDL_DirectFB_render.c index 4e6645eb8..3e8ba4759 100644 --- a/src/video/directfb/SDL_DirectFB_render.c +++ b/src/video/directfb/SDL_DirectFB_render.c @@ -308,7 +308,7 @@ DisplayPaletteChanged(void *userdata, SDL_Palette * palette) entries[i].r = palette->colors[i].r; entries[i].g = palette->colors[i].g; entries[i].b = palette->colors[i].b; - entries[i].a = palette->colors[i].unused; + entries[i].a = palette->colors[i].a; } SDL_DFB_CHECKERR(surfpal->SetEntries(surfpal, entries, ncolors, 0)); return 0;