Corrected name of SDL_Color field from unused to a.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sat, 28 Sep 2013 12:48:26 +0200
changeset 7751 2f679aa69aea
parent 7750 48acb5c00c4b
child 7752 0947d51f3d1d
Corrected name of SDL_Color field from unused to a.
src/video/directfb/SDL_DirectFB_render.c
--- a/src/video/directfb/SDL_DirectFB_render.c	Fri Sep 27 23:47:57 2013 -0700
+++ b/src/video/directfb/SDL_DirectFB_render.c	Sat Sep 28 12:48:26 2013 +0200
@@ -308,7 +308,7 @@
         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;