Browse Source

Fixed bug 2100 - directfb fails to build

Sam Lantinga 12 years ago
parent
commit
c95761e00a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/video/directfb/SDL_DirectFB_render.c

+ 1 - 1
src/video/directfb/SDL_DirectFB_render.c

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