Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixes wrong assignment of SDL_Color "unused" member in DirectFB backend.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabomdq committed Feb 26, 2013
1 parent 81f80ef commit 4fd980e
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 @@ -669,7 +669,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->unused = SDL_ALPHA_OPAQUE;
colors[i].unused = SDL_ALPHA_OPAQUE;
}
return 0;
} else {
Expand Down

0 comments on commit 4fd980e

Please sign in to comment.