From c95761e00acb628e77fe9d8b1ab3bd0b99eb2f5d Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 27 Sep 2013 23:29:05 -0700 Subject: [PATCH] Fixed bug 2100 - directfb fails to build --- 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 1a63f5ab1..4e6645eb8 100644 --- a/src/video/directfb/SDL_DirectFB_render.c +++ b/src/video/directfb/SDL_DirectFB_render.c @@ -674,7 +674,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[i].unused = SDL_ALPHA_OPAQUE; + colors[i].a = SDL_ALPHA_OPAQUE; } return 0; } else {