Skip to content

Commit

Permalink
Corrected name of SDL_Color field from unused to a.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Sep 28, 2013
1 parent 8b6ad7f commit 90afb94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/directfb/SDL_DirectFB_render.c
Expand Up @@ -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;
Expand Down

0 comments on commit 90afb94

Please sign in to comment.