Fixed bug 2100 - directfb fails to build
authorSam Lantinga <slouken@libsdl.org>
Fri, 27 Sep 2013 23:29:05 -0700
changeset 7748 3c9889bf2626
parent 7747 0ebf642117f4
child 7749 6073ad385c9b
Fixed bug 2100 - directfb fails to build
src/video/directfb/SDL_DirectFB_render.c
--- a/src/video/directfb/SDL_DirectFB_render.c	Fri Sep 27 23:19:22 2013 -0700
+++ b/src/video/directfb/SDL_DirectFB_render.c	Fri Sep 27 23:29:05 2013 -0700
@@ -674,7 +674,7 @@
             colors[i].r = entries[i].r;
             colors[i].g = entries[i].g;
             colors[i].b = entries[i].b;
-            colors[i].unused = SDL_ALPHA_OPAQUE;
+            colors[i].a = SDL_ALPHA_OPAQUE;
         }
         return 0;
     } else {